Update deprecation notes for QMP 'cpu-add' & HMP 'cpu_add'
cover Update deprecation notes for QMP 'cpu-add' & HMP 'cpu_add'
Kashyap Chamarthy (3):
qemu-deprecated.texi: Rename the HMP section
Update that HMP 'cpu_add' is deprecated in 4.0
Mention that QMP 'cpu-add' will be deprecated
qemu-deprecated.texi | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-)
Signature · 1 line
2.17.2
PATCH 1/3 qemu-deprecated.texi: Rename the HMP section
So that it is consistent with the naming of QMP's
--- qemu-deprecated.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
qemu-deprecated.texi +1 -1
@@ -114,7 +114,7 @@ The ``query-cpus'' command is replaced by the ``query-cpus-fast'' command. The ``arch'' output member of the ``query-cpus-fast'' command is replaced by the ``target'' output member. -@section System emulator human monitor commands +@section Human Monitor Protocol (HMP) commands @subsection The hub_id parameter of 'hostfwd_add' / 'hostfwd_remove' (since 3.1)
Signature · 1 line
2.17.2
Re: [Qemu-devel] [PATCH 1/3] qemu-deprecated.texi: Rename the HMP section
Quoted 12 lines · Kashyap Chamarthy
So that it is consistent with the naming of QMP's
Signed-off-by Kashyap Chamarthy <[email protected]>--- qemu-deprecated.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)qemu-deprecated.texi +0
-0
qemu-deprecated.texi The ``query-cpus'' command is replaced by the ``query-cpus-fast'' command. · line 117
Quoted 5 lines
qemu-deprecated.texi +1
-1@@ -114,7 +114,7 @@ The ``query-cpus'' command is replaced by the ``query-cpus-fast'' command. The ``arch'' output member of the ``query-cpus-fast'' command is replaced by the ``target'' output member. -@section System emulator human monitor commands +@section Human Monitor Protocol (HMP) commands
PATCH 2/3 Update that HMP 'cpu_add' is deprecated in 4.0
In reply to Kashyap ChamarthyAlso fix the wrong spelling of it: s/cpu-add/cpu_add/
--- qemu-deprecated.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
qemu-deprecated.texi +2 -2
@@ -121,9 +121,9 @@ replaced by the ``target'' output member. The @option{[hub_id name]} parameter tuple of the 'hostfwd_add' and 'hostfwd_remove' HMP commands has been replaced by @option{netdev_id}. -@subsection cpu-add (since 3.1) +@subsection cpu_add (since 4.0) -Use ``device_add'' for hotplugging vCPUs instead of ``cpu-add''. See +Use ``device_add'' for hotplugging vCPUs instead of ``cpu_add''. See documentation of ``query-hotpluggable-cpus'' for additional details. @section System emulator devices
Signature · 1 line
2.17.2
Re: [Qemu-devel] [PATCH 2/3] Update that HMP 'cpu_add' is deprecated in 4.0
Quoted 3 lines · On Thu, 13 Dec 2018 13:42:23 +0100 Kashyap Chamarthy <[email protected]>…
Also fix the wrong spelling of it: s/cpu-add/cpu_add/
Signed-off-by Kashyap Chamarthy <[email protected]>
Quoted 20 lines
--- qemu-deprecated.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)qemu-deprecated.texi +2
-2@@ -121,9 +121,9 @@ replaced by the ``target'' output member. The @option{[hub_id name]} parameter tuple of the 'hostfwd_add' and 'hostfwd_remove' HMP commands has been replaced by @option{netdev_id}. -@subsection cpu-add (since 3.1) +@subsection cpu_add (since 4.0) -Use ``device_add'' for hotplugging vCPUs instead of ``cpu-add''. See +Use ``device_add'' for hotplugging vCPUs instead of ``cpu_add''. See documentation of ``query-hotpluggable-cpus'' for additional details. @section System emulator devices
Re: [Qemu-devel] [PATCH 2/3] Update that HMP 'cpu_add' is deprecated in 4.0
In reply to Kashyap ChamarthyQuoted 12 lines · Kashyap Chamarthy
Also fix the wrong spelling of it: s/cpu-add/cpu_add/
Signed-off-by Kashyap Chamarthy <[email protected]>--- qemu-deprecated.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)qemu-deprecated.texi +0
-0
qemu-deprecated.texi replaced by the ``target'' output member. · line 126
Quoted 8 lines
qemu-deprecated.texi +2
-2@@ -121,9 +121,9 @@ replaced by the ``target'' output member. The @option{[hub_id name]} parameter tuple of the 'hostfwd_add' and 'hostfwd_remove' HMP commands has been replaced by @option{netdev_id}. -@subsection cpu-add (since 3.1) +@subsection cpu_add (since 4.0) -Use ``device_add'' for hotplugging vCPUs instead of ``cpu-add''. See +Use ``device_add'' for hotplugging vCPUs instead of ``cpu_add''. See
AFAIK the spelling was right. It's "cpu-add" ... only device_add is using the underscore. Welcome to the wonderful world of QEMU inconsistencies...
Thomas
Re: [Qemu-devel] [PATCH 2/3] Update that HMP 'cpu_add' is deprecated in 4.0
Quoted 19 lines · Thomas Huth
Quoted 18 lines · Kashyap Chamarthy
Also fix the wrong spelling of it: s/cpu-add/cpu_add/
Signed-off-by Kashyap Chamarthy <[email protected]>--- qemu-deprecated.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)qemu-deprecated.texi +1
-1@@ -121,9 +121,9 @@ replaced by the ``target'' output member. The @option{[hub_id name]} parameter tuple of the 'hostfwd_add' and 'hostfwd_remove' HMP commands has been replaced by @option{netdev_id}. -@subsection cpu-add (since 3.1) +@subsection cpu_add (since 4.0)
Quoted 6 lines
qemu-deprecated.texi replaced by the ``target'' output member. · line 126
Quoted 2 lines
qemu-deprecated.texi +1
-1-Use ``device_add'' for hotplugging vCPUs instead of ``cpu-add''. See +Use ``device_add'' for hotplugging vCPUs instead of ``cpu_add''. SeeAFAIK the spelling was right. It's "cpu-add" ... only
device_addis using the underscore. Welcome to the wonderful world of QEMU inconsistencies...
Thanks for noting. I have fixed it while committing.
Signature · 1 line
Eduardo
Re: [Qemu-devel] [PATCH 2/3] Update that HMP 'cpu_add' is deprecated in 4.0
In reply to Thomas HuthQuoted 19 lines · Thomas Huth
Quoted 18 lines · Kashyap Chamarthy
Also fix the wrong spelling of it: s/cpu-add/cpu_add/
Signed-off-by Kashyap Chamarthy <[email protected]>--- qemu-deprecated.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)qemu-deprecated.texi +1
-1@@ -121,9 +121,9 @@ replaced by the ``target'' output member. The @option{[hub_id name]} parameter tuple of the 'hostfwd_add' and 'hostfwd_remove' HMP commands has been replaced by @option{netdev_id}. -@subsection cpu-add (since 3.1) +@subsection cpu_add (since 4.0)
Quoted 6 lines
qemu-deprecated.texi replaced by the ``target'' output member. · line 126
Quoted 2 lines
qemu-deprecated.texi +1
-1-Use ``device_add'' for hotplugging vCPUs instead of ``cpu-add''. See +Use ``device_add'' for hotplugging vCPUs instead of ``cpu_add''. SeeAFAIK the spelling was right. It's "cpu-add" ... only
device_addis using the underscore. Welcome to the wonderful world of QEMU inconsistencies...
Huh...I thought I checked the HMP spelling; but indeed you're right! Confusingly enough, the QMP spelling _doesn't_ have underscore:
[...]
ETEXI
{
.name = "cpu-add",
.args_type = "id:i",
.params = "id",
.help = "add cpu (deprecated, use device_add instead)",
.cmd = hmp_cpu_add,
},
STEXI
@item cpu-add @var{id}
@findex cpu-add
Add CPU with id @var{id}. This command is deprecated, please
+use @code{device_add} instead. For details, refer to
'docs/cpu-hotplug.rst'.
[...]Thanks for the eagle eyes, Thomas.
Signature · 1 line
/kashyap
PATCH 3/3 Mention that QMP 'cpu-add' will be deprecated
In reply to Kashyap Chamarthy--- qemu-deprecated.texi | 6 ++++++ 1 file changed, 6 insertions(+)
qemu-deprecated.texi +6 -0
@@ -114,6 +114,12 @@ The ``query-cpus'' command is replaced by the ``query-cpus-fast'' command. The ``arch'' output member of the ``query-cpus-fast'' command is replaced by the ``target'' output member. +@subsection cpu-add (since 4.0) + +Use ``device_add'' for hotplugging vCPUs instead of ``cpu-add''. See +documentation of ``query-hotpluggable-cpus'' for additional +details. + @section Human Monitor Protocol (HMP) commands @subsection The hub_id parameter of 'hostfwd_add' / 'hostfwd_remove' (since 3.1)
Signature · 1 line
2.17.2
Re: [Qemu-devel] [PATCH 3/3] Mention that QMP 'cpu-add' will be deprecated
Quoted 1 line · On Thu, 13 Dec 2018 13:42:24 +0100 Kashyap Chamarthy <[email protected]>…
Signed-off-by Kashyap Chamarthy <[email protected]>
Quoted 21 lines
--- qemu-deprecated.texi | 6 ++++++ 1 file changed, 6 insertions(+)qemu-deprecated.texi +6
-0@@ -114,6 +114,12 @@ The ``query-cpus'' command is replaced by the ``query-cpus-fast'' command. The ``arch'' output member of the ``query-cpus-fast'' command is replaced by the ``target'' output member. +@subsection cpu-add (since 4.0) + +Use ``device_add'' for hotplugging vCPUs instead of ``cpu-add''. See +documentation of ``query-hotpluggable-cpus'' for additional +details. + @section Human Monitor Protocol (HMP) commands @subsection The hub_id parameter of 'hostfwd_add' / 'hostfwd_remove' (since 3.1)
Re: [Qemu-devel] [PATCH 3/3] Mention that QMP 'cpu-add' will be deprecated
In reply to Kashyap ChamarthyQuoted 13 lines · Kashyap Chamarthy
Signed-off-by Kashyap Chamarthy <[email protected]>--- qemu-deprecated.texi | 6 ++++++ 1 file changed, 6 insertions(+)qemu-deprecated.texi +0
-0@@ -114,6 +114,12 @@ The ``query-cpus'' command is replaced by the ``query-cpus-fast'' command. The ``arch'' output member of the ``query-cpus-fast'' command is replaced by the ``target'' output member.
qemu-deprecated.texi The ``query-cpus'' command is replaced by the ``query-cpus-fast'' command. · line 125
Quoted 10 lines
qemu-deprecated.texi +6
-0+@subsection cpu-add (since 4.0) + +Use ``device_add'' for hotplugging vCPUs instead of ``cpu-add''. See +documentation of ``query-hotpluggable-cpus'' for additional +details. + @section Human Monitor Protocol (HMP) commands @subsection The hub_id parameter of 'hostfwd_add' / 'hostfwd_remove' (since 3.1)
Eduardo Habkost
AppliedQueued. Thanks, and sorry for making the original series miss the 3.1 release.
Signature · 1 line
Eduardo