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 <imammedo@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
8a1eb71bd8
commit
13f5e8003e
|
@ -4978,8 +4978,8 @@ Example for pseries machine type started with
|
||||||
|
|
||||||
-> { "execute": "query-hotpluggable-cpus" }
|
-> { "execute": "query-hotpluggable-cpus" }
|
||||||
<- {"return": [
|
<- {"return": [
|
||||||
{ "props": { "core": 8 }, "type": "POWER8-spapr-cpu-core",
|
{ "props": { "core-id": 8 }, "type": "POWER8-spapr-cpu-core",
|
||||||
"vcpus-count": 1 },
|
"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]"}
|
"vcpus-count": 1, "qom-path": "/machine/unattached/device[0]"}
|
||||||
]}'
|
]}'
|
||||||
|
|
Loading…
Reference in New Issue