mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-30 04:21:17 +00:00
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 x86 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>
61 lines
1.6 KiB
Plaintext
61 lines
1.6 KiB
Plaintext
[vcpu libvirt-id='0']
|
|
online=yes
|
|
hotpluggable=no
|
|
thread-id='518291'
|
|
enable-id='1'
|
|
query-cpus-id='0'
|
|
type='qemu64-x86_64-cpu'
|
|
qom_path='/machine/unattached/device[0]'
|
|
topology: socket='0' core='0' thread='0' vcpus='1'
|
|
[vcpu libvirt-id='1']
|
|
online=yes
|
|
hotpluggable=no
|
|
thread-id='518292'
|
|
enable-id='2'
|
|
query-cpus-id='1'
|
|
type='qemu64-x86_64-cpu'
|
|
qom_path='/machine/unattached/device[2]'
|
|
topology: socket='0' core='0' thread='1' vcpus='1'
|
|
[vcpu libvirt-id='2']
|
|
online=yes
|
|
hotpluggable=no
|
|
thread-id='518294'
|
|
enable-id='3'
|
|
query-cpus-id='2'
|
|
type='qemu64-x86_64-cpu'
|
|
qom_path='/machine/unattached/device[3]'
|
|
topology: socket='0' core='1' thread='0' vcpus='1'
|
|
[vcpu libvirt-id='3']
|
|
online=yes
|
|
hotpluggable=no
|
|
thread-id='518295'
|
|
enable-id='4'
|
|
query-cpus-id='3'
|
|
type='qemu64-x86_64-cpu'
|
|
qom_path='/machine/unattached/device[4]'
|
|
topology: socket='0' core='1' thread='1' vcpus='1'
|
|
[vcpu libvirt-id='4']
|
|
online=yes
|
|
hotpluggable=no
|
|
thread-id='518296'
|
|
enable-id='5'
|
|
query-cpus-id='4'
|
|
type='qemu64-x86_64-cpu'
|
|
qom_path='/machine/unattached/device[5]'
|
|
topology: socket='1' core='0' thread='0' vcpus='1'
|
|
[vcpu libvirt-id='5']
|
|
online=no
|
|
hotpluggable=yes
|
|
type='qemu64-x86_64-cpu'
|
|
topology: socket='1' core='0' thread='1' vcpus='1'
|
|
[vcpu libvirt-id='6']
|
|
online=no
|
|
hotpluggable=yes
|
|
type='qemu64-x86_64-cpu'
|
|
topology: socket='1' core='1' thread='0' vcpus='1'
|
|
[vcpu libvirt-id='7']
|
|
online=no
|
|
hotpluggable=yes
|
|
type='qemu64-x86_64-cpu'
|
|
topology: socket='1' core='1' thread='1' vcpus='1'
|