mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-29 20:11:16 +00:00
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.
111 lines
2.3 KiB
Plaintext
111 lines
2.3 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=yes
|
|
hotpluggable=yes
|
|
thread-id='22223'
|
|
qemu-id='3'
|
|
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='22224'
|
|
[vcpu libvirt-id='18']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22225'
|
|
[vcpu libvirt-id='19']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22226'
|
|
[vcpu libvirt-id='20']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22227'
|
|
[vcpu libvirt-id='21']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22228'
|
|
[vcpu libvirt-id='22']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22229'
|
|
[vcpu libvirt-id='23']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22230'
|