1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00
libvirt/tests/qemuhotplugtestcpus/x86-old-bulk-monitor.json
Peter Krempa 7b62dfc737 qemuhotplugtestcpus: Always use 'query-cpus-fast'
Use the new command in the test suite by asserting the capability
and adjusting test data to the correct field names as they changed
compared to 'query-cpus'.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2020-03-05 11:31:38 +01:00

194 lines
4.0 KiB
JSON

{"execute":"query-cpus-fast","id":"libvirt-1"}
{
"return": [
{
"target": "x86",
"current": true,
"cpu-index": 0,
"qom-path": "/machine/unattached/device[0]",
"pc": -2130415978,
"halted": true,
"thread-id": 518291
},
{
"target": "x86",
"current": false,
"cpu-index": 1,
"qom-path": "/machine/unattached/device[2]",
"pc": -2130415978,
"halted": true,
"thread-id": 518292
},
{
"target": "x86",
"current": false,
"cpu-index": 2,
"qom-path": "/machine/unattached/device[3]",
"pc": -2130415978,
"halted": true,
"thread-id": 518294
},
{
"target": "x86",
"current": false,
"cpu-index": 3,
"qom-path": "/machine/unattached/device[4]",
"pc": -2130415978,
"halted": true,
"thread-id": 518295
},
{
"target": "x86",
"current": false,
"cpu-index": 4,
"qom-path": "/machine/unattached/device[5]",
"pc": -2130415978,
"halted": true,
"thread-id": 518296
}
],
"id": "libvirt-22"
}
{"execute":"cpu-add","arguments":{"id":5},"id":"libvirt-2"}
{"return": {}}
{"execute":"query-cpus-fast","id":"libvirt-3"}
{
"return": [
{
"target": "x86",
"current": true,
"cpu-index": 0,
"qom-path": "/machine/unattached/device[0]",
"pc": -2130415978,
"halted": true,
"thread-id": 518291
},
{
"target": "x86",
"current": false,
"cpu-index": 1,
"qom-path": "/machine/unattached/device[2]",
"pc": -2130415978,
"halted": true,
"thread-id": 518292
},
{
"target": "x86",
"current": false,
"cpu-index": 2,
"qom-path": "/machine/unattached/device[3]",
"pc": -2130415978,
"halted": true,
"thread-id": 518294
},
{
"target": "x86",
"current": false,
"cpu-index": 3,
"qom-path": "/machine/unattached/device[4]",
"pc": -2130415978,
"halted": true,
"thread-id": 518295
},
{
"target": "x86",
"current": false,
"cpu-index": 4,
"qom-path": "/machine/unattached/device[5]",
"pc": -2130415978,
"halted": true,
"thread-id": 518296
},
{
"target": "x86",
"current": false,
"cpu-index": 5,
"qom-path": "/machine/peripheral/vcpu5",
"pc": -2130415978,
"halted": true,
"thread-id": 518297
}
],
"id": "libvirt-22"
}
{"execute":"cpu-add","arguments":{"id":6},"id":"libvirt-4"}
{"return": {}}
{"execute":"query-cpus-fast","id":"libvirt-5"}
{
"return": [
{
"target": "x86",
"current": true,
"cpu-index": 0,
"qom-path": "/machine/unattached/device[0]",
"pc": -2130415978,
"halted": true,
"thread-id": 518291
},
{
"target": "x86",
"current": false,
"cpu-index": 1,
"qom-path": "/machine/unattached/device[2]",
"pc": -2130415978,
"halted": true,
"thread-id": 518292
},
{
"target": "x86",
"current": false,
"cpu-index": 2,
"qom-path": "/machine/unattached/device[3]",
"pc": -2130415978,
"halted": true,
"thread-id": 518294
},
{
"target": "x86",
"current": false,
"cpu-index": 3,
"qom-path": "/machine/unattached/device[4]",
"pc": -2130415978,
"halted": true,
"thread-id": 518295
},
{
"target": "x86",
"current": false,
"cpu-index": 4,
"qom-path": "/machine/unattached/device[5]",
"pc": -2130415978,
"halted": true,
"thread-id": 518296
},
{
"target": "x86",
"current": false,
"cpu-index": 5,
"qom-path": "/machine/peripheral/vcpu5",
"pc": -2130415978,
"halted": true,
"thread-id": 518297
},
{
"target": "x86",
"current": false,
"cpu-index": 6,
"qom-path": "/machine/peripheral/vcpu6",
"pc": -2130415978,
"halted": true,
"thread-id": 518298
}
],
"id": "libvirt-22"
}