mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 07:36:19 +00:00
2a0e68be91
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='23170'
|
|
qemu-id='3'
|
|
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'
|
|
[vcpu libvirt-id='10']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='23172'
|
|
[vcpu libvirt-id='11']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='23173'
|
|
[vcpu libvirt-id='12']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='23174'
|
|
[vcpu libvirt-id='13']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='23175'
|
|
[vcpu libvirt-id='14']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='23176'
|
|
[vcpu libvirt-id='15']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='23177'
|
|
[vcpu libvirt-id='16']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22741'
|
|
qemu-id='2'
|
|
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'
|
|
[vcpu libvirt-id='18']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22743'
|
|
[vcpu libvirt-id='19']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22744'
|
|
[vcpu libvirt-id='20']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22745'
|
|
[vcpu libvirt-id='21']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22746'
|
|
[vcpu libvirt-id='22']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22747'
|
|
[vcpu libvirt-id='23']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='22748'
|