mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 11:51:11 +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>
135 lines
2.8 KiB
Plaintext
135 lines
2.8 KiB
Plaintext
[vcpu libvirt-id='0']
|
|
online=yes
|
|
hotpluggable=no
|
|
thread-id='21925'
|
|
enable-id='1'
|
|
query-cpus-id='0'
|
|
type='host-spapr-cpu-core'
|
|
qom_path='/machine/unattached/device[1]'
|
|
topology: core='0' vcpus='8'
|
|
[vcpu libvirt-id='1']
|
|
online=yes
|
|
hotpluggable=no
|
|
thread-id='21926'
|
|
query-cpus-id='1'
|
|
[vcpu libvirt-id='2']
|
|
online=yes
|
|
hotpluggable=no
|
|
thread-id='21927'
|
|
query-cpus-id='2'
|
|
[vcpu libvirt-id='3']
|
|
online=yes
|
|
hotpluggable=no
|
|
thread-id='21928'
|
|
query-cpus-id='3'
|
|
[vcpu libvirt-id='4']
|
|
online=yes
|
|
hotpluggable=no
|
|
thread-id='21930'
|
|
query-cpus-id='4'
|
|
[vcpu libvirt-id='5']
|
|
online=yes
|
|
hotpluggable=no
|
|
thread-id='21931'
|
|
query-cpus-id='5'
|
|
[vcpu libvirt-id='6']
|
|
online=yes
|
|
hotpluggable=no
|
|
thread-id='21932'
|
|
query-cpus-id='6'
|
|
[vcpu libvirt-id='7']
|
|
online=yes
|
|
hotpluggable=no
|
|
thread-id='21933'
|
|
query-cpus-id='7'
|
|
[vcpu libvirt-id='8']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='23170'
|
|
enable-id='3'
|
|
query-cpus-id='16'
|
|
type='host-spapr-cpu-core'
|
|
alias='vcpu0'
|
|
qom_path='/machine/peripheral/vcpu0'
|
|
topology: core='8' vcpus='8'
|
|
[vcpu libvirt-id='9']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='23171'
|
|
query-cpus-id='17'
|
|
[vcpu libvirt-id='10']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='23172'
|
|
query-cpus-id='18'
|
|
[vcpu libvirt-id='11']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='23173'
|
|
query-cpus-id='19'
|
|
[vcpu libvirt-id='12']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='23174'
|
|
query-cpus-id='20'
|
|
[vcpu libvirt-id='13']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='23175'
|
|
query-cpus-id='21'
|
|
[vcpu libvirt-id='14']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='23176'
|
|
query-cpus-id='22'
|
|
[vcpu libvirt-id='15']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='23177'
|
|
query-cpus-id='23'
|
|
[vcpu libvirt-id='16']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22741'
|
|
enable-id='2'
|
|
query-cpus-id='8'
|
|
type='host-spapr-cpu-core'
|
|
alias='vcpu1'
|
|
qom_path='/machine/peripheral/vcpu1'
|
|
topology: core='16' vcpus='8'
|
|
[vcpu libvirt-id='17']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22742'
|
|
query-cpus-id='9'
|
|
[vcpu libvirt-id='18']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22743'
|
|
query-cpus-id='10'
|
|
[vcpu libvirt-id='19']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22744'
|
|
query-cpus-id='11'
|
|
[vcpu libvirt-id='20']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22745'
|
|
query-cpus-id='12'
|
|
[vcpu libvirt-id='21']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22746'
|
|
query-cpus-id='13'
|
|
[vcpu libvirt-id='22']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22747'
|
|
query-cpus-id='14'
|
|
[vcpu libvirt-id='23']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22748'
|
|
query-cpus-id='15'
|