From 63e79833c46fa6d21efb1c4d966b0a204c4b7b0f Mon Sep 17 00:00:00 2001 From: Igor Mammedov Date: Tue, 15 Sep 2020 08:04:03 -0400 Subject: 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 Reviewed-by: Thomas Huth Acked-by: Dr. David Alan Gilbert Reviewed-by: Michal Privoznik Acked-by: Cornelia Huck Message-Id: <20200915120403.1074579-1-imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- qapi/machine.json | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'qapi') diff --git a/qapi/machine.json b/qapi/machine.json index 0ac1880..d8ed096 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. -- cgit v1.1