libvirt/tests/qemumonitorjsondata/qemumonitorjson-cpuinfo-aarch64-clusters.data
Andrea Bolognani cb7abb0703 tests: Verify handling of CPU clusters in QMP data
Since aarch64 doesn't support CPU hotplug at the moment, we have
to get a bit creative.

While the 'query-cpus-fast' output is taken directly from a VM
configured as

  <vcpu current='7'>16</vcpu>
  <cpu mode='host-passthrough'>
    <topology sockets='2' dies='1' clusters='2' cores='2' threads='2'/>
  </cpu>

the 'query-hotpluggable-cpus' output is constructed by hand
starting from the former and using the 'x86-dies' test data as
a model.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2024-01-15 14:56:36 +01:00

109 lines
3.1 KiB
Plaintext

[vcpu libvirt-id='0']
online=yes
hotpluggable=no
thread-id='284700'
enable-id='1'
query-cpus-id='0'
type='host-arm-cpu'
qom_path='/machine/unattached/device[0]'
topology: socket='0' cluster_id='0' core='0' thread='0' vcpus='1'
[vcpu libvirt-id='1']
online=yes
hotpluggable=no
thread-id='284701'
enable-id='2'
query-cpus-id='1'
type='host-arm-cpu'
qom_path='/machine/unattached/device[1]'
topology: socket='0' cluster_id='0' core='0' thread='1' vcpus='1'
[vcpu libvirt-id='2']
online=yes
hotpluggable=no
thread-id='284702'
enable-id='3'
query-cpus-id='2'
type='host-arm-cpu'
qom_path='/machine/unattached/device[2]'
topology: socket='0' cluster_id='0' core='1' thread='0' vcpus='1'
[vcpu libvirt-id='3']
online=yes
hotpluggable=no
thread-id='284703'
enable-id='4'
query-cpus-id='3'
type='host-arm-cpu'
qom_path='/machine/unattached/device[3]'
topology: socket='0' cluster_id='0' core='1' thread='1' vcpus='1'
[vcpu libvirt-id='4']
online=yes
hotpluggable=no
thread-id='284704'
enable-id='5'
query-cpus-id='4'
type='host-arm-cpu'
qom_path='/machine/unattached/device[4]'
topology: socket='0' cluster_id='1' core='0' thread='0' vcpus='1'
[vcpu libvirt-id='5']
online=yes
hotpluggable=no
thread-id='284705'
enable-id='6'
query-cpus-id='5'
type='host-arm-cpu'
qom_path='/machine/unattached/device[5]'
topology: socket='0' cluster_id='1' core='0' thread='1' vcpus='1'
[vcpu libvirt-id='6']
online=yes
hotpluggable=no
thread-id='284706'
enable-id='7'
query-cpus-id='6'
type='host-arm-cpu'
qom_path='/machine/unattached/device[6]'
topology: socket='0' cluster_id='1' core='1' thread='0' vcpus='1'
[vcpu libvirt-id='7']
online=no
hotpluggable=yes
type='host-arm-cpu'
topology: socket='0' cluster_id='1' core='1' thread='1' vcpus='1'
[vcpu libvirt-id='8']
online=no
hotpluggable=yes
type='host-arm-cpu'
topology: socket='1' cluster_id='0' core='0' thread='0' vcpus='1'
[vcpu libvirt-id='9']
online=no
hotpluggable=yes
type='host-arm-cpu'
topology: socket='1' cluster_id='0' core='0' thread='1' vcpus='1'
[vcpu libvirt-id='10']
online=no
hotpluggable=yes
type='host-arm-cpu'
topology: socket='1' cluster_id='0' core='1' thread='0' vcpus='1'
[vcpu libvirt-id='11']
online=no
hotpluggable=yes
type='host-arm-cpu'
topology: socket='1' cluster_id='0' core='1' thread='1' vcpus='1'
[vcpu libvirt-id='12']
online=no
hotpluggable=yes
type='host-arm-cpu'
topology: socket='1' cluster_id='1' core='0' thread='0' vcpus='1'
[vcpu libvirt-id='13']
online=no
hotpluggable=yes
type='host-arm-cpu'
topology: socket='1' cluster_id='1' core='0' thread='1' vcpus='1'
[vcpu libvirt-id='14']
online=no
hotpluggable=yes
type='host-arm-cpu'
topology: socket='1' cluster_id='1' core='1' thread='0' vcpus='1'
[vcpu libvirt-id='15']
online=no
hotpluggable=yes
type='host-arm-cpu'
topology: socket='1' cluster_id='1' core='1' thread='1' vcpus='1'