libvirt/tests/qemumonitorjsondata/qemumonitorjson-cpuinfo-ppc64-hotplug-1.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

100 lines
2.0 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=yes
hotpluggable=yes
thread-id='22131'
qemu-id='2'
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='22132'
[vcpu libvirt-id='10']
online=yes
hotpluggable=yes
thread-id='22133'
[vcpu libvirt-id='11']
online=yes
hotpluggable=yes
thread-id='22134'
[vcpu libvirt-id='12']
online=yes
hotpluggable=yes
thread-id='22135'
[vcpu libvirt-id='13']
online=yes
hotpluggable=yes
thread-id='22136'
[vcpu libvirt-id='14']
online=yes
hotpluggable=yes
thread-id='22137'
[vcpu libvirt-id='15']
online=yes
hotpluggable=yes
thread-id='22138'
[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