libvirt/tests/capabilityschemadata/caps-qemu-kvm.xml
Daniel P. Berrangé 8496880866 tests: add better QEMU capabilities example
Updated example covers:

  * UUID
  * CPU model, vendor, microcode, signature, counters,
    topology, maxphysaddr, features,
  * Power management
  * NUMA page size info, multiple nodes, CPU topology IDs, distances
  * CPU cache bank info
  * Multiple secmodels

Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2022-09-21 12:02:40 +01:00

427 lines
14 KiB
XML

<capabilities>
<host>
<uuid>a25c794c-34ad-11b2-a85c-b030533115b8</uuid>
<cpu>
<arch>x86_64</arch>
<model>Haswell-noTSX</model>
<vendor>Intel</vendor>
<microcode version='45'/>
<counter name='tsc' frequency='2596991000' scaling='no'/>
<topology sockets='1' dies='1' cores='8' threads='1'/>
<maxphysaddr mode='emulate' bits='39'/>
<feature name='vme'/>
<feature name='ds'/>
<feature name='acpi'/>
<feature name='ss'/>
<feature name='ht'/>
<feature name='tm'/>
<feature name='pbe'/>
<feature name='dtes64'/>
<feature name='ds_cpl'/>
<feature name='vmx'/>
<feature name='smx'/>
<feature name='est'/>
<feature name='tm2'/>
<feature name='xtpr'/>
<feature name='pdcm'/>
<feature name='dca'/>
<feature name='osxsave'/>
<feature name='f16c'/>
<feature name='rdrand'/>
<feature name='arat'/>
<feature name='tsc_adjust'/>
<feature name='cmt'/>
<feature name='xsaveopt'/>
<feature name='pdpe1gb'/>
<feature name='abm'/>
<feature name='invtsc'/>
<pages unit='KiB' size='4'/>
<pages unit='KiB' size='2048'/>
<pages unit='KiB' size='1048576'/>
</cpu>
<power_management>
<suspend_mem/>
<suspend_disk/>
<suspend_hybrid/>
</power_management>
<migration_features>
<live/>
<uri_transports>
<uri_transport>tcp</uri_transport>
<uri_transport>rdma</uri_transport>
</uri_transports>
</migration_features>
<topology>
<cells num='2'>
<cell id='0'>
<memory unit='KiB'>16175540</memory>
<pages unit='KiB' size='4'>4043885</pages>
<pages unit='KiB' size='2048'>0</pages>
<pages unit='KiB' size='1048576'>0</pages>
<distances>
<sibling id='0' value='10'/>
<sibling id='1' value='21'/>
</distances>
<cpus num='8'>
<cpu id='0' socket_id='0' die_id='0' core_id='0' siblings='0'/>
<cpu id='2' socket_id='0' die_id='0' core_id='1' siblings='2'/>
<cpu id='4' socket_id='0' die_id='0' core_id='2' siblings='4'/>
<cpu id='6' socket_id='0' die_id='0' core_id='3' siblings='6'/>
<cpu id='8' socket_id='0' die_id='0' core_id='4' siblings='8'/>
<cpu id='10' socket_id='0' die_id='0' core_id='5' siblings='10'/>
<cpu id='12' socket_id='0' die_id='0' core_id='6' siblings='12'/>
<cpu id='14' socket_id='0' die_id='0' core_id='7' siblings='14'/>
</cpus>
</cell>
<cell id='1'>
<memory unit='KiB'>16510060</memory>
<pages unit='KiB' size='4'>4127515</pages>
<pages unit='KiB' size='2048'>0</pages>
<pages unit='KiB' size='1048576'>0</pages>
<distances>
<sibling id='0' value='21'/>
<sibling id='1' value='10'/>
</distances>
<cpus num='8'>
<cpu id='1' socket_id='1' die_id='0' core_id='0' siblings='1'/>
<cpu id='3' socket_id='1' die_id='0' core_id='1' siblings='3'/>
<cpu id='5' socket_id='1' die_id='0' core_id='2' siblings='5'/>
<cpu id='7' socket_id='1' die_id='0' core_id='3' siblings='7'/>
<cpu id='9' socket_id='1' die_id='0' core_id='4' siblings='9'/>
<cpu id='11' socket_id='1' die_id='0' core_id='5' siblings='11'/>
<cpu id='13' socket_id='1' die_id='0' core_id='6' siblings='13'/>
<cpu id='15' socket_id='1' die_id='0' core_id='7' siblings='15'/>
</cpus>
</cell>
</cells>
</topology>
<cache>
<bank id='0' level='3' type='both' size='20' unit='MiB' cpus='0,2,4,6,8,10,12,14'/>
<bank id='1' level='3' type='both' size='20' unit='MiB' cpus='1,3,5,7,9,11,13,15'/>
</cache>
<secmodel>
<model>selinux</model>
<doi>0</doi>
<baselabel type='kvm'>system_u:system_r:svirt_t:s0</baselabel>
<baselabel type='qemu'>system_u:system_r:svirt_tcg_t:s0</baselabel>
</secmodel>
<secmodel>
<model>dac</model>
<doi>0</doi>
<baselabel type='kvm'>+107:+107</baselabel>
<baselabel type='qemu'>+107:+107</baselabel>
</secmodel>
</host>
<guest>
<os_type>hvm</os_type>
<arch name='i686'>
<wordsize>32</wordsize>
<emulator>/usr/bin/qemu-system-i386</emulator>
<machine maxCpus='255'>pc-0.11</machine>
<machine canonical='pc-0.11' maxCpus='255'>pc</machine>
<machine maxCpus='255'>pc-0.10</machine>
<machine maxCpus='1'>isapc</machine>
<domain type='qemu'/>
<domain type='kvm'>
<emulator>/usr/bin/qemu-system-i386</emulator>
<machine maxCpus='255'>pc-0.11</machine>
<machine canonical='pc-0.11' maxCpus='255'>pc</machine>
<machine maxCpus='255'>pc-0.10</machine>
<machine maxCpus='1'>isapc</machine>
</domain>
</arch>
<features>
<pae/>
<nonpae/>
<acpi default='on' toggle='yes'/>
<apic default='on' toggle='no'/>
</features>
</guest>
<guest>
<os_type>hvm</os_type>
<arch name='x86_64'>
<wordsize>64</wordsize>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<machine>pc-0.11</machine>
<machine canonical='pc-0.11'>pc</machine>
<machine>pc-0.10</machine>
<machine>isapc</machine>
<domain type='qemu'/>
<domain type='kvm'>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<machine>pc-0.11</machine>
<machine canonical='pc-0.11'>pc</machine>
<machine>pc-0.10</machine>
<machine>isapc</machine>
</domain>
</arch>
<features>
<acpi default='on' toggle='yes'/>
<apic default='on' toggle='no'/>
</features>
</guest>
<guest>
<os_type>hvm</os_type>
<arch name='armv6l'>
<wordsize>32</wordsize>
<emulator>/usr/bin/qemu-system-arm</emulator>
<machine maxCpus='1'>integratorcp</machine>
<machine maxCpus='2'>nuri</machine>
<machine maxCpus='1'>mps2-an511</machine>
<machine maxCpus='1'>verdex</machine>
<machine maxCpus='1'>mps2-an505</machine>
<machine maxCpus='512'>virt-3.0</machine>
<machine canonical='virt-3.0' maxCpus='512'>virt</machine>
<machine maxCpus='1'>ast2500-evb</machine>
<machine maxCpus='2'>smdkc210</machine>
<machine maxCpus='1'>collie</machine>
<machine maxCpus='1'>imx25-pdk</machine>
<machine maxCpus='1'>spitz</machine>
<machine maxCpus='4'>realview-pbx-a9</machine>
<machine maxCpus='1'>realview-eb</machine>
<machine maxCpus='1'>realview-pb-a8</machine>
<machine maxCpus='1'>versatilepb</machine>
<machine maxCpus='1'>emcraft-sf2</machine>
<machine maxCpus='255'>virt-2.9</machine>
<machine maxCpus='1'>musicpal</machine>
<machine maxCpus='1'>z2</machine>
<machine maxCpus='1'>akita</machine>
<machine maxCpus='255'>virt-2.7</machine>
<machine maxCpus='1'>kzm</machine>
<machine maxCpus='255'>virt-2.8</machine>
<machine maxCpus='4'>realview-eb-mpcore</machine>
<machine maxCpus='2'>mcimx7d-sabre</machine>
<machine maxCpus='1'>sx1</machine>
<machine maxCpus='1'>sx1-v1</machine>
<machine maxCpus='255'>virt-2.6</machine>
<machine maxCpus='1'>cubieboard</machine>
<machine maxCpus='4'>highbank</machine>
<machine maxCpus='4'>raspi2</machine>
<machine maxCpus='1'>netduino2</machine>
<machine maxCpus='1'>terrier</machine>
<machine maxCpus='1'>n810</machine>
<machine maxCpus='1'>mainstone</machine>
<machine maxCpus='1'>palmetto-bmc</machine>
<machine maxCpus='4'>sabrelite</machine>
<machine maxCpus='4'>midway</machine>
<machine maxCpus='1'>romulus-bmc</machine>
<machine maxCpus='1'>cheetah</machine>
<machine maxCpus='1'>tosa</machine>
<machine maxCpus='1'>borzoi</machine>
<machine maxCpus='1'>versatileab</machine>
<machine maxCpus='1'>lm3s6965evb</machine>
<machine maxCpus='1'>n800</machine>
<machine maxCpus='255'>virt-2.10</machine>
<machine maxCpus='255'>virt-2.11</machine>
<machine maxCpus='1'>connex</machine>
<machine maxCpus='255'>virt-2.12</machine>
<machine maxCpus='1'>witherspoon-bmc</machine>
<machine maxCpus='1'>xilinx-zynq-a9</machine>
<machine maxCpus='1'>mps2-an385</machine>
<machine maxCpus='4'>vexpress-a9</machine>
<machine maxCpus='4'>vexpress-a15</machine>
<machine maxCpus='1'>canon-a1100</machine>
<machine maxCpus='1'>lm3s811evb</machine>
<domain type='qemu'/>
</arch>
</guest>
<guest>
<os_type>hvm</os_type>
<arch name='armv7l'>
<wordsize>32</wordsize>
<emulator>/usr/bin/qemu-system-arm</emulator>
<machine>integratorcp</machine>
<machine>syborg</machine>
<machine>musicpal</machine>
<machine>mainstone</machine>
<machine>n800</machine>
<machine>n810</machine>
<machine>cheetah</machine>
<machine>sx1</machine>
<machine>sx1-v1</machine>
<machine>tosa</machine>
<machine>akita</machine>
<machine>spitz</machine>
<machine>borzoi</machine>
<machine>terrier</machine>
<machine>connex</machine>
<machine>verdex</machine>
<machine>lm3s811evb</machine>
<machine>lm3s6965evb</machine>
<machine>realview</machine>
<machine>versatilepb</machine>
<machine>versatileab</machine>
<domain type='qemu'/>
</arch>
</guest>
<guest>
<os_type>hvm</os_type>
<arch name='aarch64'>
<wordsize>64</wordsize>
<emulator>/usr/bin/qemu-system-aarch64</emulator>
<machine>machvirt</machine>
<domain type='qemu'/>
</arch>
</guest>
<guest>
<os_type>hvm</os_type>
<arch name='microblaze'>
<wordsize>32</wordsize>
<emulator>/usr/bin/qemu-system-microblaze</emulator>
<machine>petalogix-s3adsp1800</machine>
<machine>microblaze-fdt</machine>
<domain type='qemu'/>
</arch>
</guest>
<guest>
<os_type>hvm</os_type>
<arch name='microblazeel'>
<wordsize>32</wordsize>
<emulator>/usr/bin/qemu-system-microblazeel</emulator>
<machine>petalogix-s3adsp1800</machine>
<machine>microblaze-fdt</machine>
<domain type='qemu'/>
</arch>
</guest>
<guest>
<os_type>hvm</os_type>
<arch name='mips'>
<wordsize>32</wordsize>
<emulator>/usr/bin/qemu-system-mips</emulator>
<machine>malta</machine>
<machine>mipssim</machine>
<machine>magnum</machine>
<machine>pica61</machine>
<machine>mips</machine>
<domain type='qemu'/>
</arch>
</guest>
<guest>
<os_type>hvm</os_type>
<arch name='mipsel'>
<wordsize>32</wordsize>
<emulator>/usr/bin/qemu-system-mipsel</emulator>
<machine>malta</machine>
<machine>mipssim</machine>
<machine>magnum</machine>
<machine>pica61</machine>
<machine>mips</machine>
<domain type='qemu'/>
</arch>
</guest>
<guest>
<os_type>hvm</os_type>
<arch name='sparc'>
<wordsize>32</wordsize>
<emulator>/usr/bin/qemu-system-sparc</emulator>
<machine>SS-5</machine>
<machine>SS-10</machine>
<machine>SS-600MP</machine>
<machine>SS-20</machine>
<machine>Voyager</machine>
<machine>LX</machine>
<machine>SS-4</machine>
<machine>SPARCClassic</machine>
<machine>SPARCbook</machine>
<machine>SS-1000</machine>
<machine>SS-2000</machine>
<machine>SS-2</machine>
<domain type='qemu'/>
</arch>
</guest>
<guest>
<os_type>hvm</os_type>
<arch name='ppc'>
<wordsize>32</wordsize>
<emulator>/usr/bin/qemu-system-ppc</emulator>
<machine>g3beige</machine>
<machine>mpc8544ds</machine>
<machine>bamboo</machine>
<machine>ref405ep</machine>
<machine>taihu</machine>
<machine>mac99</machine>
<machine>prep</machine>
<domain type='qemu'/>
</arch>
</guest>
<guest>
<os_type>hvm</os_type>
<arch name='riscv32'>
<wordsize>32</wordsize>
<emulator>/usr/bin/qemu-system-riscv32</emulator>
<machine maxCpus='1'>spike_v1.10</machine>
<machine maxCpus='1'>spike_v1.9.1</machine>
<machine maxCpus='1'>sifive_e</machine>
<machine maxCpus='8'>virt</machine>
<machine maxCpus='1'>sifive_u</machine>
<domain type='qemu'/>
</arch>
<features>
<cpuselection/>
<disksnapshot default='on' toggle='no'/>
</features>
</guest>
<guest>
<os_type>hvm</os_type>
<arch name='riscv64'>
<wordsize>64</wordsize>
<emulator>/usr/bin/qemu-system-riscv64</emulator>
<machine maxCpus='1'>spike_v1.10</machine>
<machine maxCpus='1'>spike_v1.9.1</machine>
<machine maxCpus='1'>sifive_e</machine>
<machine maxCpus='8'>virt</machine>
<machine maxCpus='1'>sifive_u</machine>
<domain type='qemu'/>
</arch>
<features>
<cpuselection/>
<disksnapshot default='on' toggle='no'/>
</features>
</guest>
<guest>
<os_type>xen</os_type>
<arch name='i686'>
<wordsize>32</wordsize>
<emulator>/usr/bin/xenner</emulator>
<machine>xenner</machine>
<domain type='kvm'/>
</arch>
<features>
<pae/>
<nonpae/>
<acpi default='on' toggle='yes'/>
<apic default='on' toggle='no'/>
</features>
</guest>
<guest>
<os_type>xen</os_type>
<arch name='x86_64'>
<wordsize>64</wordsize>
<emulator>/usr/bin/xenner</emulator>
<machine>xenner</machine>
<domain type='kvm'/>
</arch>
<features>
<acpi default='on' toggle='yes'/>
<apic default='on' toggle='no'/>
</features>
</guest>
</capabilities>