]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemuhotplugtestcpus: Always use 'query-cpus-fast'
authorPeter Krempa <pkrempa@redhat.com>
Wed, 4 Mar 2020 11:19:39 +0000 (12:19 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 5 Mar 2020 10:31:38 +0000 (11:31 +0100)
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>
tests/qemuhotplugtest.c
tests/qemuhotplugtestcpus/ppc64-modern-bulk-monitor.json
tests/qemuhotplugtestcpus/ppc64-modern-individual-monitor.json
tests/qemuhotplugtestcpus/x86-modern-bulk-monitor.json
tests/qemuhotplugtestcpus/x86-modern-individual-add-monitor.json
tests/qemuhotplugtestcpus/x86-old-bulk-monitor.json

index 9dd42664cd7efa29c22775e9f3e390bfb9a95539..e008c1bf0d49e349ecfbad90088d7cc1e903dfcd 100644 (file)
@@ -437,6 +437,8 @@ testQemuHotplugCpuPrepare(const char *test,
 
     priv = data->vm->privateData;
 
+    virQEMUCapsSet(priv->qemuCaps, QEMU_CAPS_QUERY_CPUS_FAST);
+
     if (data->modern)
         virQEMUCapsSet(priv->qemuCaps, QEMU_CAPS_QUERY_HOTPLUGGABLE_CPUS);
 
index c139426b7be075cf87241fde61931112befcc6d7..068b45e3c0efcb8730a7639fe8c43ef56e08e38c 100644 (file)
   "id": "libvirt-15"
 }
 
-{"execute":"query-cpus","id":"libvirt-2"}
+{"execute":"query-cpus-fast","id":"libvirt-2"}
 
 {
   "return": [
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": true,
-      "CPU": 0,
+      "cpu-index": 0,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[0]",
+      "qom-path": "/machine/unattached/device[1]/thread[0]",
       "halted": false,
-      "thread_id": 21925
+      "thread-id": 21925
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 1,
+      "cpu-index": 1,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[1]",
+      "qom-path": "/machine/unattached/device[1]/thread[1]",
       "halted": false,
-      "thread_id": 21926
+      "thread-id": 21926
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 2,
+      "cpu-index": 2,
       "nip": -4611686018422360608,
-      "qom_path": "/machine/unattached/device[1]/thread[2]",
+      "qom-path": "/machine/unattached/device[1]/thread[2]",
       "halted": false,
-      "thread_id": 21927
+      "thread-id": 21927
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 3,
+      "cpu-index": 3,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[3]",
+      "qom-path": "/machine/unattached/device[1]/thread[3]",
       "halted": false,
-      "thread_id": 21928
+      "thread-id": 21928
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 4,
+      "cpu-index": 4,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[4]",
+      "qom-path": "/machine/unattached/device[1]/thread[4]",
       "halted": false,
-      "thread_id": 21930
+      "thread-id": 21930
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 5,
+      "cpu-index": 5,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[5]",
+      "qom-path": "/machine/unattached/device[1]/thread[5]",
       "halted": false,
-      "thread_id": 21931
+      "thread-id": 21931
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 6,
+      "cpu-index": 6,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[6]",
+      "qom-path": "/machine/unattached/device[1]/thread[6]",
       "halted": false,
-      "thread_id": 21932
+      "thread-id": 21932
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 7,
+      "cpu-index": 7,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[7]",
+      "qom-path": "/machine/unattached/device[1]/thread[7]",
       "halted": false,
-      "thread_id": 21933
+      "thread-id": 21933
     }
   ],
   "id": "libvirt-12"
   "id": "libvirt-15"
 }
 
-{"execute":"query-cpus","id":"libvirt-5"}
+{"execute":"query-cpus-fast","id":"libvirt-5"}
 
 {
   "return": [
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": true,
-      "CPU": 0,
+      "cpu-index": 0,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[0]",
+      "qom-path": "/machine/unattached/device[1]/thread[0]",
       "halted": false,
-      "thread_id": 21925
+      "thread-id": 21925
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 1,
+      "cpu-index": 1,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[1]",
+      "qom-path": "/machine/unattached/device[1]/thread[1]",
       "halted": false,
-      "thread_id": 21926
+      "thread-id": 21926
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 2,
+      "cpu-index": 2,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[2]",
+      "qom-path": "/machine/unattached/device[1]/thread[2]",
       "halted": false,
-      "thread_id": 21927
+      "thread-id": 21927
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 3,
+      "cpu-index": 3,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[3]",
+      "qom-path": "/machine/unattached/device[1]/thread[3]",
       "halted": false,
-      "thread_id": 21928
+      "thread-id": 21928
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 4,
+      "cpu-index": 4,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[4]",
+      "qom-path": "/machine/unattached/device[1]/thread[4]",
       "halted": false,
-      "thread_id": 21930
+      "thread-id": 21930
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 5,
+      "cpu-index": 5,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[5]",
+      "qom-path": "/machine/unattached/device[1]/thread[5]",
       "halted": false,
-      "thread_id": 21931
+      "thread-id": 21931
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 6,
+      "cpu-index": 6,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[6]",
+      "qom-path": "/machine/unattached/device[1]/thread[6]",
       "halted": false,
-      "thread_id": 21932
+      "thread-id": 21932
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 7,
+      "cpu-index": 7,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[7]",
+      "qom-path": "/machine/unattached/device[1]/thread[7]",
       "halted": false,
-      "thread_id": 21933
+      "thread-id": 21933
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 8,
+      "cpu-index": 8,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu1/thread[0]",
+      "qom-path": "/machine/peripheral/vcpu1/thread[0]",
       "halted": false,
-      "thread_id": 22131
+      "thread-id": 22131
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 9,
+      "cpu-index": 9,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu1/thread[1]",
+      "qom-path": "/machine/peripheral/vcpu1/thread[1]",
       "halted": false,
-      "thread_id": 22132
+      "thread-id": 22132
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 10,
+      "cpu-index": 10,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu1/thread[2]",
+      "qom-path": "/machine/peripheral/vcpu1/thread[2]",
       "halted": false,
-      "thread_id": 22133
+      "thread-id": 22133
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 11,
+      "cpu-index": 11,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu1/thread[3]",
+      "qom-path": "/machine/peripheral/vcpu1/thread[3]",
       "halted": false,
-      "thread_id": 22134
+      "thread-id": 22134
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 12,
+      "cpu-index": 12,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu1/thread[4]",
+      "qom-path": "/machine/peripheral/vcpu1/thread[4]",
       "halted": false,
-      "thread_id": 22135
+      "thread-id": 22135
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 13,
+      "cpu-index": 13,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu1/thread[5]",
+      "qom-path": "/machine/peripheral/vcpu1/thread[5]",
       "halted": false,
-      "thread_id": 22136
+      "thread-id": 22136
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 14,
+      "cpu-index": 14,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu1/thread[6]",
+      "qom-path": "/machine/peripheral/vcpu1/thread[6]",
       "halted": false,
-      "thread_id": 22137
+      "thread-id": 22137
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 15,
+      "cpu-index": 15,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu1/thread[7]",
+      "qom-path": "/machine/peripheral/vcpu1/thread[7]",
       "halted": false,
-      "thread_id": 22138
+      "thread-id": 22138
     }
   ],
   "id": "libvirt-14"
   "id": "libvirt-15"
 }
 
-{"execute":"query-cpus","id":"libvirt-8"}
+{"execute":"query-cpus-fast","id":"libvirt-8"}
 
 {
   "return": [
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": true,
-      "CPU": 0,
+      "cpu-index": 0,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[0]",
+      "qom-path": "/machine/unattached/device[1]/thread[0]",
       "halted": false,
-      "thread_id": 21925
+      "thread-id": 21925
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 1,
+      "cpu-index": 1,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[1]",
+      "qom-path": "/machine/unattached/device[1]/thread[1]",
       "halted": false,
-      "thread_id": 21926
+      "thread-id": 21926
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 2,
+      "cpu-index": 2,
       "nip": -4611686018422360576,
-      "qom_path": "/machine/unattached/device[1]/thread[2]",
+      "qom-path": "/machine/unattached/device[1]/thread[2]",
       "halted": false,
-      "thread_id": 21927
+      "thread-id": 21927
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 3,
+      "cpu-index": 3,
       "nip": -4611686018422360596,
-      "qom_path": "/machine/unattached/device[1]/thread[3]",
+      "qom-path": "/machine/unattached/device[1]/thread[3]",
       "halted": false,
-      "thread_id": 21928
+      "thread-id": 21928
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 4,
+      "cpu-index": 4,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[4]",
+      "qom-path": "/machine/unattached/device[1]/thread[4]",
       "halted": false,
-      "thread_id": 21930
+      "thread-id": 21930
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 5,
+      "cpu-index": 5,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[5]",
+      "qom-path": "/machine/unattached/device[1]/thread[5]",
       "halted": false,
-      "thread_id": 21931
+      "thread-id": 21931
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 6,
+      "cpu-index": 6,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[6]",
+      "qom-path": "/machine/unattached/device[1]/thread[6]",
       "halted": false,
-      "thread_id": 21932
+      "thread-id": 21932
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 7,
+      "cpu-index": 7,
       "nip": -4611686018422360596,
-      "qom_path": "/machine/unattached/device[1]/thread[7]",
+      "qom-path": "/machine/unattached/device[1]/thread[7]",
       "halted": false,
-      "thread_id": 21933
+      "thread-id": 21933
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 8,
+      "cpu-index": 8,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu1/thread[0]",
+      "qom-path": "/machine/peripheral/vcpu1/thread[0]",
       "halted": false,
-      "thread_id": 22131
+      "thread-id": 22131
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 9,
+      "cpu-index": 9,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu1/thread[1]",
+      "qom-path": "/machine/peripheral/vcpu1/thread[1]",
       "halted": false,
-      "thread_id": 22132
+      "thread-id": 22132
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 10,
+      "cpu-index": 10,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu1/thread[2]",
+      "qom-path": "/machine/peripheral/vcpu1/thread[2]",
       "halted": false,
-      "thread_id": 22133
+      "thread-id": 22133
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 11,
+      "cpu-index": 11,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu1/thread[3]",
+      "qom-path": "/machine/peripheral/vcpu1/thread[3]",
       "halted": false,
-      "thread_id": 22134
+      "thread-id": 22134
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 12,
+      "cpu-index": 12,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu1/thread[4]",
+      "qom-path": "/machine/peripheral/vcpu1/thread[4]",
       "halted": false,
-      "thread_id": 22135
+      "thread-id": 22135
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 13,
+      "cpu-index": 13,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu1/thread[5]",
+      "qom-path": "/machine/peripheral/vcpu1/thread[5]",
       "halted": false,
-      "thread_id": 22136
+      "thread-id": 22136
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 14,
+      "cpu-index": 14,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu1/thread[6]",
+      "qom-path": "/machine/peripheral/vcpu1/thread[6]",
       "halted": false,
-      "thread_id": 22137
+      "thread-id": 22137
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 15,
+      "cpu-index": 15,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu1/thread[7]",
+      "qom-path": "/machine/peripheral/vcpu1/thread[7]",
       "halted": false,
-      "thread_id": 22138
+      "thread-id": 22138
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 16,
+      "cpu-index": 16,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu2/thread[0]",
+      "qom-path": "/machine/peripheral/vcpu2/thread[0]",
       "halted": false,
-      "thread_id": 22223
+      "thread-id": 22223
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 17,
+      "cpu-index": 17,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu2/thread[1]",
+      "qom-path": "/machine/peripheral/vcpu2/thread[1]",
       "halted": false,
-      "thread_id": 22224
+      "thread-id": 22224
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 18,
+      "cpu-index": 18,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu2/thread[2]",
+      "qom-path": "/machine/peripheral/vcpu2/thread[2]",
       "halted": false,
-      "thread_id": 22225
+      "thread-id": 22225
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 19,
+      "cpu-index": 19,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu2/thread[3]",
+      "qom-path": "/machine/peripheral/vcpu2/thread[3]",
       "halted": false,
-      "thread_id": 22226
+      "thread-id": 22226
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 20,
+      "cpu-index": 20,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu2/thread[4]",
+      "qom-path": "/machine/peripheral/vcpu2/thread[4]",
       "halted": false,
-      "thread_id": 22227
+      "thread-id": 22227
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 21,
+      "cpu-index": 21,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu2/thread[5]",
+      "qom-path": "/machine/peripheral/vcpu2/thread[5]",
       "halted": false,
-      "thread_id": 22228
+      "thread-id": 22228
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 22,
+      "cpu-index": 22,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu2/thread[6]",
+      "qom-path": "/machine/peripheral/vcpu2/thread[6]",
       "halted": false,
-      "thread_id": 22229
+      "thread-id": 22229
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 23,
+      "cpu-index": 23,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu2/thread[7]",
+      "qom-path": "/machine/peripheral/vcpu2/thread[7]",
       "halted": false,
-      "thread_id": 22230
+      "thread-id": 22230
     }
   ],
   "id": "libvirt-17"
index ad5cc984a8e53f206dab9b74ee3bbe476a82b634..b90c4acb736531f166dfebcb093bb68aefe9c157 100644 (file)
   "id": "libvirt-15"
 }
 
-{"execute":"query-cpus","id":"libvirt-2"}
+{"execute":"query-cpus-fast","id":"libvirt-2"}
 
 {
   "return": [
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": true,
-      "CPU": 0,
+      "cpu-index": 0,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[0]",
+      "qom-path": "/machine/unattached/device[1]/thread[0]",
       "halted": false,
-      "thread_id": 21925
+      "thread-id": 21925
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 1,
+      "cpu-index": 1,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[1]",
+      "qom-path": "/machine/unattached/device[1]/thread[1]",
       "halted": false,
-      "thread_id": 21926
+      "thread-id": 21926
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 2,
+      "cpu-index": 2,
       "nip": -4611686018422360608,
-      "qom_path": "/machine/unattached/device[1]/thread[2]",
+      "qom-path": "/machine/unattached/device[1]/thread[2]",
       "halted": false,
-      "thread_id": 21927
+      "thread-id": 21927
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 3,
+      "cpu-index": 3,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[3]",
+      "qom-path": "/machine/unattached/device[1]/thread[3]",
       "halted": false,
-      "thread_id": 21928
+      "thread-id": 21928
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 4,
+      "cpu-index": 4,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[4]",
+      "qom-path": "/machine/unattached/device[1]/thread[4]",
       "halted": false,
-      "thread_id": 21930
+      "thread-id": 21930
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 5,
+      "cpu-index": 5,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[5]",
+      "qom-path": "/machine/unattached/device[1]/thread[5]",
       "halted": false,
-      "thread_id": 21931
+      "thread-id": 21931
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 6,
+      "cpu-index": 6,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[6]",
+      "qom-path": "/machine/unattached/device[1]/thread[6]",
       "halted": false,
-      "thread_id": 21932
+      "thread-id": 21932
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 7,
+      "cpu-index": 7,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[7]",
+      "qom-path": "/machine/unattached/device[1]/thread[7]",
       "halted": false,
-      "thread_id": 21933
+      "thread-id": 21933
     }
   ],
   "id": "libvirt-12"
   "id": "libvirt-15"
 }
 
-{"execute":"query-cpus","id":"libvirt-5"}
+{"execute":"query-cpus-fast","id":"libvirt-5"}
 
 {
   "return": [
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": true,
-      "CPU": 0,
+      "cpu-index": 0,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[0]",
+      "qom-path": "/machine/unattached/device[1]/thread[0]",
       "halted": false,
-      "thread_id": 21925
+      "thread-id": 21925
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 1,
+      "cpu-index": 1,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[1]",
+      "qom-path": "/machine/unattached/device[1]/thread[1]",
       "halted": false,
-      "thread_id": 21926
+      "thread-id": 21926
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 2,
+      "cpu-index": 2,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[2]",
+      "qom-path": "/machine/unattached/device[1]/thread[2]",
       "halted": false,
-      "thread_id": 21927
+      "thread-id": 21927
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 3,
+      "cpu-index": 3,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[3]",
+      "qom-path": "/machine/unattached/device[1]/thread[3]",
       "halted": false,
-      "thread_id": 21928
+      "thread-id": 21928
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 4,
+      "cpu-index": 4,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[4]",
+      "qom-path": "/machine/unattached/device[1]/thread[4]",
       "halted": false,
-      "thread_id": 21930
+      "thread-id": 21930
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 5,
+      "cpu-index": 5,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[5]",
+      "qom-path": "/machine/unattached/device[1]/thread[5]",
       "halted": false,
-      "thread_id": 21931
+      "thread-id": 21931
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 6,
+      "cpu-index": 6,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[6]",
+      "qom-path": "/machine/unattached/device[1]/thread[6]",
       "halted": false,
-      "thread_id": 21932
+      "thread-id": 21932
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 7,
+      "cpu-index": 7,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/unattached/device[1]/thread[7]",
+      "qom-path": "/machine/unattached/device[1]/thread[7]",
       "halted": false,
-      "thread_id": 21933
+      "thread-id": 21933
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 8,
+      "cpu-index": 8,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu16/thread[0]",
+      "qom-path": "/machine/peripheral/vcpu16/thread[0]",
       "halted": false,
-      "thread_id": 22131
+      "thread-id": 22131
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 9,
+      "cpu-index": 9,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu16/thread[1]",
+      "qom-path": "/machine/peripheral/vcpu16/thread[1]",
       "halted": false,
-      "thread_id": 22132
+      "thread-id": 22132
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 10,
+      "cpu-index": 10,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu16/thread[2]",
+      "qom-path": "/machine/peripheral/vcpu16/thread[2]",
       "halted": false,
-      "thread_id": 22133
+      "thread-id": 22133
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 11,
+      "cpu-index": 11,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu16/thread[3]",
+      "qom-path": "/machine/peripheral/vcpu16/thread[3]",
       "halted": false,
-      "thread_id": 22134
+      "thread-id": 22134
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 12,
+      "cpu-index": 12,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu16/thread[4]",
+      "qom-path": "/machine/peripheral/vcpu16/thread[4]",
       "halted": false,
-      "thread_id": 22135
+      "thread-id": 22135
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 13,
+      "cpu-index": 13,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu16/thread[5]",
+      "qom-path": "/machine/peripheral/vcpu16/thread[5]",
       "halted": false,
-      "thread_id": 22136
+      "thread-id": 22136
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 14,
+      "cpu-index": 14,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu16/thread[6]",
+      "qom-path": "/machine/peripheral/vcpu16/thread[6]",
       "halted": false,
-      "thread_id": 22137
+      "thread-id": 22137
     },
     {
-      "arch": "ppc",
+      "target": "ppc",
       "current": false,
-      "CPU": 15,
+      "cpu-index": 15,
       "nip": -4611686018426772172,
-      "qom_path": "/machine/peripheral/vcpu16/thread[7]",
+      "qom-path": "/machine/peripheral/vcpu16/thread[7]",
       "halted": false,
-      "thread_id": 22138
+      "thread-id": 22138
     }
   ],
   "id": "libvirt-14"
index b1d02b8d430e58c465f46ef6d2fc443f1f5d4052..a412ccaf6e7c51530cc38160f897b9d1e247e5cd 100644 (file)
   "id": "libvirt-23"
 }
 
-{"execute":"query-cpus","id":"libvirt-2"}
+{"execute":"query-cpus-fast","id":"libvirt-2"}
 
 {
   "return": [
     {
-      "arch": "x86",
+      "target": "x86",
       "current": true,
-      "CPU": 0,
-      "qom_path": "/machine/unattached/device[0]",
+      "cpu-index": 0,
+      "qom-path": "/machine/unattached/device[0]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518291
+      "thread-id": 518291
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 1,
-      "qom_path": "/machine/unattached/device[2]",
+      "cpu-index": 1,
+      "qom-path": "/machine/unattached/device[2]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518292
+      "thread-id": 518292
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 2,
-      "qom_path": "/machine/unattached/device[3]",
+      "cpu-index": 2,
+      "qom-path": "/machine/unattached/device[3]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518294
+      "thread-id": 518294
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 3,
-      "qom_path": "/machine/unattached/device[4]",
+      "cpu-index": 3,
+      "qom-path": "/machine/unattached/device[4]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518295
+      "thread-id": 518295
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 4,
-      "qom_path": "/machine/unattached/device[5]",
+      "cpu-index": 4,
+      "qom-path": "/machine/unattached/device[5]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518296
+      "thread-id": 518296
     }
   ],
   "id": "libvirt-22"
   "id": "libvirt-23"
 }
 
-{"execute":"query-cpus","id":"libvirt-5"}
+{"execute":"query-cpus-fast","id":"libvirt-5"}
 
 {
   "return": [
     {
-      "arch": "x86",
+      "target": "x86",
       "current": true,
-      "CPU": 0,
-      "qom_path": "/machine/unattached/device[0]",
+      "cpu-index": 0,
+      "qom-path": "/machine/unattached/device[0]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518291
+      "thread-id": 518291
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 1,
-      "qom_path": "/machine/unattached/device[2]",
+      "cpu-index": 1,
+      "qom-path": "/machine/unattached/device[2]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518292
+      "thread-id": 518292
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 2,
-      "qom_path": "/machine/unattached/device[3]",
+      "cpu-index": 2,
+      "qom-path": "/machine/unattached/device[3]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518294
+      "thread-id": 518294
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 3,
-      "qom_path": "/machine/unattached/device[4]",
+      "cpu-index": 3,
+      "qom-path": "/machine/unattached/device[4]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518295
+      "thread-id": 518295
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 4,
-      "qom_path": "/machine/unattached/device[5]",
+      "cpu-index": 4,
+      "qom-path": "/machine/unattached/device[5]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518296
+      "thread-id": 518296
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 5,
-      "qom_path": "/machine/peripheral/vcpu5",
+      "cpu-index": 5,
+      "qom-path": "/machine/peripheral/vcpu5",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518297
+      "thread-id": 518297
     }
   ],
   "id": "libvirt-22"
   "id": "libvirt-23"
 }
 
-{"execute":"query-cpus","id":"libvirt-8"}
+{"execute":"query-cpus-fast","id":"libvirt-8"}
 
 {
   "return": [
     {
-      "arch": "x86",
+      "target": "x86",
       "current": true,
-      "CPU": 0,
-      "qom_path": "/machine/unattached/device[0]",
+      "cpu-index": 0,
+      "qom-path": "/machine/unattached/device[0]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518291
+      "thread-id": 518291
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 1,
-      "qom_path": "/machine/unattached/device[2]",
+      "cpu-index": 1,
+      "qom-path": "/machine/unattached/device[2]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518292
+      "thread-id": 518292
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 2,
-      "qom_path": "/machine/unattached/device[3]",
+      "cpu-index": 2,
+      "qom-path": "/machine/unattached/device[3]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518294
+      "thread-id": 518294
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 3,
-      "qom_path": "/machine/unattached/device[4]",
+      "cpu-index": 3,
+      "qom-path": "/machine/unattached/device[4]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518295
+      "thread-id": 518295
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 4,
-      "qom_path": "/machine/unattached/device[5]",
+      "cpu-index": 4,
+      "qom-path": "/machine/unattached/device[5]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518296
+      "thread-id": 518296
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 5,
-      "qom_path": "/machine/peripheral/vcpu5",
+      "cpu-index": 5,
+      "qom-path": "/machine/peripheral/vcpu5",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518297
+      "thread-id": 518297
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 6,
-      "qom_path": "/machine/peripheral/vcpu6",
+      "cpu-index": 6,
+      "qom-path": "/machine/peripheral/vcpu6",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518298
+      "thread-id": 518298
     }
   ],
   "id": "libvirt-22"
index df05e5e3a95843530d4c7e0adcb243be1fce8a27..0acf2d0cd9c7cefc2a7dd406c058b09ac57d1c25 100644 (file)
   "id": "libvirt-23"
 }
 
-{"execute":"query-cpus","id":"libvirt-2"}
+{"execute":"query-cpus-fast","id":"libvirt-2"}
 
 {
   "return": [
     {
-      "arch": "x86",
+      "target": "x86",
       "current": true,
-      "CPU": 0,
-      "qom_path": "/machine/unattached/device[0]",
+      "cpu-index": 0,
+      "qom-path": "/machine/unattached/device[0]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518291
+      "thread-id": 518291
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 1,
-      "qom_path": "/machine/unattached/device[2]",
+      "cpu-index": 1,
+      "qom-path": "/machine/unattached/device[2]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518292
+      "thread-id": 518292
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 2,
-      "qom_path": "/machine/unattached/device[3]",
+      "cpu-index": 2,
+      "qom-path": "/machine/unattached/device[3]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518294
+      "thread-id": 518294
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 3,
-      "qom_path": "/machine/unattached/device[4]",
+      "cpu-index": 3,
+      "qom-path": "/machine/unattached/device[4]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518295
+      "thread-id": 518295
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 4,
-      "qom_path": "/machine/unattached/device[5]",
+      "cpu-index": 4,
+      "qom-path": "/machine/unattached/device[5]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518296
+      "thread-id": 518296
     }
   ],
   "id": "libvirt-22"
   "id": "libvirt-23"
 }
 
-{"execute":"query-cpus","id":"libvirt-5"}
+{"execute":"query-cpus-fast","id":"libvirt-5"}
 
 {
   "return": [
     {
-      "arch": "x86",
+      "target": "x86",
       "current": true,
-      "CPU": 0,
-      "qom_path": "/machine/unattached/device[0]",
+      "cpu-index": 0,
+      "qom-path": "/machine/unattached/device[0]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518291
+      "thread-id": 518291
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 1,
-      "qom_path": "/machine/unattached/device[2]",
+      "cpu-index": 1,
+      "qom-path": "/machine/unattached/device[2]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518292
+      "thread-id": 518292
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 2,
-      "qom_path": "/machine/unattached/device[3]",
+      "cpu-index": 2,
+      "qom-path": "/machine/unattached/device[3]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518294
+      "thread-id": 518294
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 3,
-      "qom_path": "/machine/unattached/device[4]",
+      "cpu-index": 3,
+      "qom-path": "/machine/unattached/device[4]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518295
+      "thread-id": 518295
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 4,
-      "qom_path": "/machine/unattached/device[5]",
+      "cpu-index": 4,
+      "qom-path": "/machine/unattached/device[5]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518296
+      "thread-id": 518296
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 5,
-      "qom_path": "/machine/peripheral/vcpu7",
+      "cpu-index": 5,
+      "qom-path": "/machine/peripheral/vcpu7",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518297
+      "thread-id": 518297
     }
   ],
   "id": "libvirt-22"
index 6caf8cc184d5f6e52ed2430ef2300c40e8f74c94..626c0a5699bb3eb066fe7a95a2ab625655d7ada5 100644 (file)
@@ -1,51 +1,51 @@
-{"execute":"query-cpus","id":"libvirt-1"}
+{"execute":"query-cpus-fast","id":"libvirt-1"}
 
 {
   "return": [
     {
-      "arch": "x86",
+      "target": "x86",
       "current": true,
-      "CPU": 0,
-      "qom_path": "/machine/unattached/device[0]",
+      "cpu-index": 0,
+      "qom-path": "/machine/unattached/device[0]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518291
+      "thread-id": 518291
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 1,
-      "qom_path": "/machine/unattached/device[2]",
+      "cpu-index": 1,
+      "qom-path": "/machine/unattached/device[2]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518292
+      "thread-id": 518292
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 2,
-      "qom_path": "/machine/unattached/device[3]",
+      "cpu-index": 2,
+      "qom-path": "/machine/unattached/device[3]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518294
+      "thread-id": 518294
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 3,
-      "qom_path": "/machine/unattached/device[4]",
+      "cpu-index": 3,
+      "qom-path": "/machine/unattached/device[4]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518295
+      "thread-id": 518295
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 4,
-      "qom_path": "/machine/unattached/device[5]",
+      "cpu-index": 4,
+      "qom-path": "/machine/unattached/device[5]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518296
+      "thread-id": 518296
     }
   ],
   "id": "libvirt-22"
 
 {"return": {}}
 
-{"execute":"query-cpus","id":"libvirt-3"}
+{"execute":"query-cpus-fast","id":"libvirt-3"}
 
 {
   "return": [
     {
-      "arch": "x86",
+      "target": "x86",
       "current": true,
-      "CPU": 0,
-      "qom_path": "/machine/unattached/device[0]",
+      "cpu-index": 0,
+      "qom-path": "/machine/unattached/device[0]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518291
+      "thread-id": 518291
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 1,
-      "qom_path": "/machine/unattached/device[2]",
+      "cpu-index": 1,
+      "qom-path": "/machine/unattached/device[2]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518292
+      "thread-id": 518292
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 2,
-      "qom_path": "/machine/unattached/device[3]",
+      "cpu-index": 2,
+      "qom-path": "/machine/unattached/device[3]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518294
+      "thread-id": 518294
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 3,
-      "qom_path": "/machine/unattached/device[4]",
+      "cpu-index": 3,
+      "qom-path": "/machine/unattached/device[4]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518295
+      "thread-id": 518295
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 4,
-      "qom_path": "/machine/unattached/device[5]",
+      "cpu-index": 4,
+      "qom-path": "/machine/unattached/device[5]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518296
+      "thread-id": 518296
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 5,
-      "qom_path": "/machine/peripheral/vcpu5",
+      "cpu-index": 5,
+      "qom-path": "/machine/peripheral/vcpu5",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518297
+      "thread-id": 518297
     }
   ],
   "id": "libvirt-22"
 
 {"return": {}}
 
-{"execute":"query-cpus","id":"libvirt-5"}
+{"execute":"query-cpus-fast","id":"libvirt-5"}
 
 {
   "return": [
     {
-      "arch": "x86",
+      "target": "x86",
       "current": true,
-      "CPU": 0,
-      "qom_path": "/machine/unattached/device[0]",
+      "cpu-index": 0,
+      "qom-path": "/machine/unattached/device[0]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518291
+      "thread-id": 518291
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 1,
-      "qom_path": "/machine/unattached/device[2]",
+      "cpu-index": 1,
+      "qom-path": "/machine/unattached/device[2]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518292
+      "thread-id": 518292
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 2,
-      "qom_path": "/machine/unattached/device[3]",
+      "cpu-index": 2,
+      "qom-path": "/machine/unattached/device[3]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518294
+      "thread-id": 518294
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 3,
-      "qom_path": "/machine/unattached/device[4]",
+      "cpu-index": 3,
+      "qom-path": "/machine/unattached/device[4]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518295
+      "thread-id": 518295
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 4,
-      "qom_path": "/machine/unattached/device[5]",
+      "cpu-index": 4,
+      "qom-path": "/machine/unattached/device[5]",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518296
+      "thread-id": 518296
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 5,
-      "qom_path": "/machine/peripheral/vcpu5",
+      "cpu-index": 5,
+      "qom-path": "/machine/peripheral/vcpu5",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518297
+      "thread-id": 518297
     },
     {
-      "arch": "x86",
+      "target": "x86",
       "current": false,
-      "CPU": 6,
-      "qom_path": "/machine/peripheral/vcpu6",
+      "cpu-index": 6,
+      "qom-path": "/machine/peripheral/vcpu6",
       "pc": -2130415978,
       "halted": true,
-      "thread_id": 518298
+      "thread-id": 518298
     }
   ],
   "id": "libvirt-22"