From: Igor Mammedov Date: Thu, 30 Jun 2016 08:17:54 +0000 (+0200) Subject: qmp: fix spapr example of query-hotpluggable-cpus X-Git-Tag: TizenStudio_2.0_p4.0~6^2~12^2~6^2~151^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13f5e8003e7b67039cb7a19e41b4f7f7ac669cb3;p=sdk%2Femulator%2Fqemu.git qmp: fix spapr example of query-hotpluggable-cpus 27393c33 qapi: keep names in 'CpuInstanceProperties' in sync with struct CPUCore added -id suffix to property names but forgot to fix example in qmp-commands.hx Fix example to have 'core-id' instead of 'core' to match current code Signed-off-by: Igor Mammedov Reviewed-by: Peter Krempa Signed-off-by: David Gibson --- diff --git a/qmp-commands.hx b/qmp-commands.hx index b444c20..6937e83 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -4978,8 +4978,8 @@ Example for pseries machine type started with -> { "execute": "query-hotpluggable-cpus" } <- {"return": [ - { "props": { "core": 8 }, "type": "POWER8-spapr-cpu-core", + { "props": { "core-id": 8 }, "type": "POWER8-spapr-cpu-core", "vcpus-count": 1 }, - { "props": { "core": 0 }, "type": "POWER8-spapr-cpu-core", + { "props": { "core-id": 0 }, "type": "POWER8-spapr-cpu-core", "vcpus-count": 1, "qom-path": "/machine/unattached/device[0]"} ]}'