summaryrefslogtreecommitdiffstats
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorIgor Mammedov2020-09-15 14:04:03 +0200
committerMichael S. Tsirkin2020-09-29 08:14:30 +0200
commit63e79833c46fa6d21efb1c4d966b0a204c4b7b0f (patch)
treec6c50002852f2b7aa205c0934c2c5978a10e1111 /hmp-commands.hx
parenttests/qtest/vhost-user-test: prepare the tests for adding new dev class (diff)
downloadqemu-63e79833c46fa6d21efb1c4d966b0a204c4b7b0f.tar.gz
qemu-63e79833c46fa6d21efb1c4d966b0a204c4b7b0f.tar.xz
qemu-63e79833c46fa6d21efb1c4d966b0a204c4b7b0f.zip
cphp: remove deprecated cpu-add command(s)
These were deprecated since 4.0, remove both HMP and QMP variants. Users should use device_add command instead. To get list of possible CPUs and options, use 'info hotpluggable-cpus' HMP or query-hotpluggable-cpus QMP command. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Acked-by: Cornelia Huck <cohuck@redhat.com> Message-Id: <20200915120403.1074579-1-imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx15
1 files changed, 0 insertions, 15 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 27c4bbe0f2..1088d64503 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1762,21 +1762,6 @@ SRST
ERST
{
- .name = "cpu-add",
- .args_type = "id:i",
- .params = "id",
- .help = "add cpu (deprecated, use device_add instead)",
- .cmd = hmp_cpu_add,
- },
-
-SRST
-``cpu-add`` *id*
- Add CPU with id *id*. This command is deprecated, please
- +use ``device_add`` instead. For details, refer to
- 'docs/cpu-hotplug.rst'.
-ERST
-
- {
.name = "qom-list",
.args_type = "path:s?",
.params = "path",