libvirt/tests/qemumonitorjsondata/qemumonitorjson-cpuinfo-ppc64-basic.data
Peter Krempa 2a0e68be91 qemu: monitor: Add vcpu state information to monitor data
Return whether a vcpu entry is hotpluggable or online so that upper
layers don't have to infer the information from other data.

Advantage is that this code can be tested by unit tests.
2016-09-14 12:55:33 +02:00

89 lines
1.8 KiB
Plaintext

[vcpu libvirt-id='0']
online=yes
hotpluggable=no
thread-id='21925'
qemu-id='1'
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'
[vcpu libvirt-id='2']
online=yes
hotpluggable=no
thread-id='21927'
[vcpu libvirt-id='3']
online=yes
hotpluggable=no
thread-id='21928'
[vcpu libvirt-id='4']
online=yes
hotpluggable=no
thread-id='21930'
[vcpu libvirt-id='5']
online=yes
hotpluggable=no
thread-id='21931'
[vcpu libvirt-id='6']
online=yes
hotpluggable=no
thread-id='21932'
[vcpu libvirt-id='7']
online=yes
hotpluggable=no
thread-id='21933'
[vcpu libvirt-id='8']
online=no
hotpluggable=yes
type='host-spapr-cpu-core'
topology: core='8' vcpus='8'
[vcpu libvirt-id='9']
online=no
hotpluggable=yes
[vcpu libvirt-id='10']
online=no
hotpluggable=yes
[vcpu libvirt-id='11']
online=no
hotpluggable=yes
[vcpu libvirt-id='12']
online=no
hotpluggable=yes
[vcpu libvirt-id='13']
online=no
hotpluggable=yes
[vcpu libvirt-id='14']
online=no
hotpluggable=yes
[vcpu libvirt-id='15']
online=no
hotpluggable=yes
[vcpu libvirt-id='16']
online=no
hotpluggable=yes
type='host-spapr-cpu-core'
topology: core='16' vcpus='8'
[vcpu libvirt-id='17']
online=no
hotpluggable=yes
[vcpu libvirt-id='18']
online=no
hotpluggable=yes
[vcpu libvirt-id='19']
online=no
hotpluggable=yes
[vcpu libvirt-id='20']
online=no
hotpluggable=yes
[vcpu libvirt-id='21']
online=no
hotpluggable=yes
[vcpu libvirt-id='22']
online=no
hotpluggable=yes
[vcpu libvirt-id='23']
online=no
hotpluggable=yes