mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-08 22:39:56 +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.
99 lines
2.6 KiB
Plaintext
99 lines
2.6 KiB
Plaintext
[vcpu libvirt-id='0']
|
|
online=yes
|
|
hotpluggable=no
|
|
thread-id='895040'
|
|
qemu-id='1'
|
|
type='Broadwell-x86_64-cpu'
|
|
qom_path='/machine/unattached/device[0]'
|
|
topology: socket='0' core='0' thread='0' vcpus='1'
|
|
[vcpu libvirt-id='1']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='895056'
|
|
qemu-id='2'
|
|
type='Broadwell-x86_64-cpu'
|
|
alias='vcpu1'
|
|
qom_path='/machine/peripheral/vcpu1'
|
|
topology: socket='1' core='0' thread='0' vcpus='1'
|
|
[vcpu libvirt-id='2']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='895057'
|
|
qemu-id='3'
|
|
type='Broadwell-x86_64-cpu'
|
|
alias='vcpu2'
|
|
qom_path='/machine/peripheral/vcpu2'
|
|
topology: socket='2' core='0' thread='0' vcpus='1'
|
|
[vcpu libvirt-id='3']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='895058'
|
|
qemu-id='4'
|
|
type='Broadwell-x86_64-cpu'
|
|
alias='vcpu3'
|
|
qom_path='/machine/peripheral/vcpu3'
|
|
topology: socket='3' core='0' thread='0' vcpus='1'
|
|
[vcpu libvirt-id='4']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='895059'
|
|
qemu-id='5'
|
|
type='Broadwell-x86_64-cpu'
|
|
alias='vcpu4'
|
|
qom_path='/machine/peripheral/vcpu4'
|
|
topology: socket='4' core='0' thread='0' vcpus='1'
|
|
[vcpu libvirt-id='5']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='895060'
|
|
qemu-id='6'
|
|
type='Broadwell-x86_64-cpu'
|
|
alias='vcpu5'
|
|
qom_path='/machine/peripheral/vcpu5'
|
|
topology: socket='5' core='0' thread='0' vcpus='1'
|
|
[vcpu libvirt-id='6']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='895061'
|
|
qemu-id='7'
|
|
type='Broadwell-x86_64-cpu'
|
|
alias='vcpu6'
|
|
qom_path='/machine/peripheral/vcpu6'
|
|
topology: socket='6' core='0' thread='0' vcpus='1'
|
|
[vcpu libvirt-id='7']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='895062'
|
|
qemu-id='8'
|
|
type='Broadwell-x86_64-cpu'
|
|
alias='vcpu7'
|
|
qom_path='/machine/peripheral/vcpu7'
|
|
topology: socket='7' core='0' thread='0' vcpus='1'
|
|
[vcpu libvirt-id='8']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='895063'
|
|
qemu-id='9'
|
|
type='Broadwell-x86_64-cpu'
|
|
alias='vcpu8'
|
|
qom_path='/machine/peripheral/vcpu8'
|
|
topology: socket='8' core='0' thread='0' vcpus='1'
|
|
[vcpu libvirt-id='9']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='895064'
|
|
qemu-id='10'
|
|
type='Broadwell-x86_64-cpu'
|
|
alias='vcpu9'
|
|
qom_path='/machine/peripheral/vcpu9'
|
|
topology: socket='9' core='0' thread='0' vcpus='1'
|
|
[vcpu libvirt-id='10']
|
|
online=yes
|
|
hotpluggable=yes
|
|
thread-id='895065'
|
|
qemu-id='11'
|
|
type='Broadwell-x86_64-cpu'
|
|
alias='vcpu10'
|
|
qom_path='/machine/peripheral/vcpu10'
|
|
topology: socket='10' core='0' thread='0' vcpus='1'
|