mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +00:00
eb98eb0ce8
All supported versions of QEMU include the query-cpus-fast QMP command. In preparation for dropping support for the old "query-cpus" commands, convert the JSON output for PPC tests to the new format, and drop the "halted" field from the expected output as it is not available anymore. The CPU properties were obtained from the query-hotpluggable-cpus output in tests/qemumonitorjsondata. CPU, thread_id, and qom_path are renamed respectively to cpu-index, qom-path and thread-id, while nip and halted are removed. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
62 lines
1.3 KiB
JSON
62 lines
1.3 KiB
JSON
{
|
|
"return": [
|
|
{
|
|
"arch": "ppc",
|
|
"current": true,
|
|
"cpu-index": 0,
|
|
"qom-path": "/machine/unattached/device[1]/thread[0]",
|
|
"thread-id": 21925
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 1,
|
|
"qom-path": "/machine/unattached/device[1]/thread[1]",
|
|
"thread-id": 21926
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 2,
|
|
"qom-path": "/machine/unattached/device[1]/thread[2]",
|
|
"thread-id": 21927
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 3,
|
|
"qom-path": "/machine/unattached/device[1]/thread[3]",
|
|
"thread-id": 21928
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 4,
|
|
"qom-path": "/machine/unattached/device[1]/thread[4]",
|
|
"thread-id": 21930
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 5,
|
|
"qom-path": "/machine/unattached/device[1]/thread[5]",
|
|
"thread-id": 21931
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 6,
|
|
"qom-path": "/machine/unattached/device[1]/thread[6]",
|
|
"thread-id": 21932
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 7,
|
|
"qom-path": "/machine/unattached/device[1]/thread[7]",
|
|
"thread-id": 21933
|
|
}
|
|
],
|
|
"id": "libvirt-12"
|
|
}
|