diff options
author | Igor Mammedov | 2020-09-15 14:04:03 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2020-09-29 08:14:30 +0200 |
commit | 63e79833c46fa6d21efb1c4d966b0a204c4b7b0f (patch) | |
tree | c6c50002852f2b7aa205c0934c2c5978a10e1111 /qapi | |
parent | tests/qtest/vhost-user-test: prepare the tests for adding new dev class (diff) | |
download | qemu-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 'qapi')
-rw-r--r-- | qapi/machine.json | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/qapi/machine.json b/qapi/machine.json index 0ac1880e4a..d8ed096e9a 100644 --- a/qapi/machine.json +++ b/qapi/machine.json @@ -308,30 +308,6 @@ { 'command': 'query-cpus-fast', 'returns': [ 'CpuInfoFast' ] } ## -# @cpu-add: -# -# Adds CPU with specified ID. -# -# @id: ID of CPU to be created, valid values [0..max_cpus) -# -# Features: -# @deprecated: This command is deprecated. Use `device_add` instead. -# See the `query-hotpluggable-cpus` command for details. -# -# Returns: Nothing on success -# -# Since: 1.5 -# -# Example: -# -# -> { "execute": "cpu-add", "arguments": { "id": 2 } } -# <- { "return": {} } -# -## -{ 'command': 'cpu-add', 'data': {'id': 'int'}, - 'features': [ 'deprecated' ] } - -## # @MachineInfo: # # Information describing a machine. |