aboutsummaryrefslogtreecommitdiff
path: root/qapi/misc.json
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2018-05-04 10:37:47 +0200
committerEduardo Habkost <ehabkost@redhat.com>2018-05-30 13:19:14 -0300
commit899eaab464fab310ecb16c8e2572d835ae1929da (patch)
tree70f6adfb2e3a0030170fad7bf609d477533b96ab /qapi/misc.json
parentfb1e58f72ba8daf7446ac46b00b5d1853486d28b (diff)
downloadqemu-899eaab464fab310ecb16c8e2572d835ae1929da.zip
qemu-899eaab464fab310ecb16c8e2572d835ae1929da.tar.gz
qemu-899eaab464fab310ecb16c8e2572d835ae1929da.tar.bz2
qmp: permit query-hotpluggable-cpus in preconfig state
it will allow mgmt to query possible CPUs, which depends on used machine(version)/-smp options, without restarting QEMU and use results to configure numa mapping or adding CPUs with device_add* later. PS: *) device_add is not allowed to run at preconfig in this series but later it could be dealt with by injecting -device in preconfig state and letting existing -device handling to actually plug devices Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <1525423069-61903-10-git-send-email-imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'qapi/misc.json')
-rw-r--r--qapi/misc.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/qapi/misc.json b/qapi/misc.json
index bd6d180..b155db2 100644
--- a/qapi/misc.json
+++ b/qapi/misc.json
@@ -3285,7 +3285,8 @@
# ]}
#
##
-{ 'command': 'query-hotpluggable-cpus', 'returns': ['HotpluggableCPU'] }
+{ 'command': 'query-hotpluggable-cpus', 'returns': ['HotpluggableCPU'],
+ 'allow-preconfig': true }
##
# @GuidInfo: