mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 12:51:12 +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>
246 lines
5.0 KiB
JSON
246 lines
5.0 KiB
JSON
{
|
|
"return": [
|
|
{
|
|
"arch": "ppc",
|
|
"current": true,
|
|
"cpu-index": 0,
|
|
"props": {
|
|
"core-id": 0
|
|
},
|
|
"qom-path": "/machine/unattached/device[1]/thread[0]",
|
|
"thread-id": 21925
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 1,
|
|
"props": {
|
|
"core-id": 0
|
|
},
|
|
"qom-path": "/machine/unattached/device[1]/thread[1]",
|
|
"thread-id": 21926
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 2,
|
|
"props": {
|
|
"core-id": 0
|
|
},
|
|
"qom-path": "/machine/unattached/device[1]/thread[2]",
|
|
"thread-id": 21927
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 3,
|
|
"props": {
|
|
"core-id": 0
|
|
},
|
|
"qom-path": "/machine/unattached/device[1]/thread[3]",
|
|
"thread-id": 21928
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 4,
|
|
"props": {
|
|
"core-id": 0
|
|
},
|
|
"qom-path": "/machine/unattached/device[1]/thread[4]",
|
|
"thread-id": 21930
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 5,
|
|
"props": {
|
|
"core-id": 0
|
|
},
|
|
"qom-path": "/machine/unattached/device[1]/thread[5]",
|
|
"thread-id": 21931
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 6,
|
|
"props": {
|
|
"core-id": 0
|
|
},
|
|
"qom-path": "/machine/unattached/device[1]/thread[6]",
|
|
"thread-id": 21932
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 7,
|
|
"props": {
|
|
"core-id": 0
|
|
},
|
|
"qom-path": "/machine/unattached/device[1]/thread[7]",
|
|
"thread-id": 21933
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 8,
|
|
"props": {
|
|
"core-id": 8
|
|
},
|
|
"qom-path": "/machine/peripheral/vcpu0/thread[0]",
|
|
"thread-id": 22131
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 9,
|
|
"props": {
|
|
"core-id": 8
|
|
},
|
|
"qom-path": "/machine/peripheral/vcpu0/thread[1]",
|
|
"thread-id": 22132
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 10,
|
|
"props": {
|
|
"core-id": 8
|
|
},
|
|
"qom-path": "/machine/peripheral/vcpu0/thread[2]",
|
|
"thread-id": 22133
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 11,
|
|
"props": {
|
|
"core-id": 8
|
|
},
|
|
"qom-path": "/machine/peripheral/vcpu0/thread[3]",
|
|
"thread-id": 22134
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 12,
|
|
"props": {
|
|
"core-id": 8
|
|
},
|
|
"qom-path": "/machine/peripheral/vcpu0/thread[4]",
|
|
"thread-id": 22135
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 13,
|
|
"props": {
|
|
"core-id": 8
|
|
},
|
|
"qom-path": "/machine/peripheral/vcpu0/thread[5]",
|
|
"thread-id": 22136
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 14,
|
|
"props": {
|
|
"core-id": 8
|
|
},
|
|
"qom-path": "/machine/peripheral/vcpu0/thread[6]",
|
|
"thread-id": 22137
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 15,
|
|
"props": {
|
|
"core-id": 8
|
|
},
|
|
"qom-path": "/machine/peripheral/vcpu0/thread[7]",
|
|
"thread-id": 22138
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 16,
|
|
"props": {
|
|
"core-id": 16
|
|
},
|
|
"qom-path": "/machine/peripheral/vcpu1/thread[0]",
|
|
"thread-id": 22223
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 17,
|
|
"props": {
|
|
"core-id": 16
|
|
},
|
|
"qom-path": "/machine/peripheral/vcpu1/thread[1]",
|
|
"thread-id": 22224
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 18,
|
|
"props": {
|
|
"core-id": 16
|
|
},
|
|
"qom-path": "/machine/peripheral/vcpu1/thread[2]",
|
|
"thread-id": 22225
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 19,
|
|
"props": {
|
|
"core-id": 16
|
|
},
|
|
"qom-path": "/machine/peripheral/vcpu1/thread[3]",
|
|
"thread-id": 22226
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 20,
|
|
"props": {
|
|
"core-id": 16
|
|
},
|
|
"qom-path": "/machine/peripheral/vcpu1/thread[4]",
|
|
"thread-id": 22227
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 21,
|
|
"props": {
|
|
"core-id": 16
|
|
},
|
|
"qom-path": "/machine/peripheral/vcpu1/thread[5]",
|
|
"thread-id": 22228
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 22,
|
|
"props": {
|
|
"core-id": 16
|
|
},
|
|
"qom-path": "/machine/peripheral/vcpu1/thread[6]",
|
|
"thread-id": 22229
|
|
},
|
|
{
|
|
"arch": "ppc",
|
|
"current": false,
|
|
"cpu-index": 23,
|
|
"props": {
|
|
"core-id": 16
|
|
},
|
|
"qom-path": "/machine/peripheral/vcpu1/thread[7]",
|
|
"thread-id": 22230
|
|
}
|
|
],
|
|
"id": "libvirt-17"
|
|
}
|