mirror of
https://gerrit.ovirt.org/vdsm
synced 2026-02-05 12:46:23 +01:00
Libvirt is supposed to return the machine type as 'text' attribute of the XML. For the default machine type there is an alias in the "canonical" attribute. Still each machine type is a separate <machine> tag. In EL7 there is a regression in libvirt that the proper machine type's name is not reported, only the "canonical" alias is - as part of the default machine type entry. This patch is workaround so we don't miss the latest machine type and can be dropped once libvirt is fixed (bug 1229666). Change-Id: Ic0bade940d7d548be18eb779cde324e37231ce73 Bug-Url: https://bugzilla.redhat.com/1229396 Signed-off-by: Martin Polednik <mpolednik@redhat.com> Reviewed-on: https://gerrit.ovirt.org/42082 Reviewed-by: Francesco Romani <fromani@redhat.com> Reviewed-by: Dan Kenigsberg <danken@redhat.com> Continuous-Integration: Dan Kenigsberg <danken@redhat.com>
144 lines
4.5 KiB
Plaintext
144 lines
4.5 KiB
Plaintext
<capabilities>
|
|
|
|
<host>
|
|
<uuid>f71ae682-f6ab-4cc0-a67f-41ef0ae39ece</uuid>
|
|
<cpu>
|
|
<arch>x86_64</arch>
|
|
<model>Westmere</model>
|
|
<vendor>Intel</vendor>
|
|
<topology sockets='1' cores='4' threads='1'/>
|
|
<feature name='invtsc'/>
|
|
<feature name='rdtscp'/>
|
|
<feature name='pdpe1gb'/>
|
|
<feature name='dca'/>
|
|
<feature name='pcid'/>
|
|
<feature name='pdcm'/>
|
|
<feature name='xtpr'/>
|
|
<feature name='tm2'/>
|
|
<feature name='est'/>
|
|
<feature name='smx'/>
|
|
<feature name='vmx'/>
|
|
<feature name='ds_cpl'/>
|
|
<feature name='monitor'/>
|
|
<feature name='dtes64'/>
|
|
<feature name='pclmuldq'/>
|
|
<feature name='pbe'/>
|
|
<feature name='tm'/>
|
|
<feature name='ht'/>
|
|
<feature name='ss'/>
|
|
<feature name='acpi'/>
|
|
<feature name='ds'/>
|
|
<feature name='vme'/>
|
|
<pages unit='KiB' size='4'/>
|
|
<pages unit='KiB' size='2048'/>
|
|
</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='1'>
|
|
<cell id='0'>
|
|
<memory unit='KiB'>12573660</memory>
|
|
<pages unit='KiB' size='4'>3143415</pages>
|
|
<pages unit='KiB' size='2048'>0</pages>
|
|
<distances>
|
|
<sibling id='0' value='10'/>
|
|
</distances>
|
|
<cpus num='4'>
|
|
<cpu id='0' socket_id='1' core_id='0' siblings='0'/>
|
|
<cpu id='1' socket_id='1' core_id='1' siblings='1'/>
|
|
<cpu id='2' socket_id='1' core_id='9' siblings='2'/>
|
|
<cpu id='3' socket_id='1' core_id='10' siblings='3'/>
|
|
</cpus>
|
|
</cell>
|
|
</cells>
|
|
</topology>
|
|
<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/libexec/qemu-kvm</emulator>
|
|
<machine canonical='pc-i440fx-rhel7.1.0' maxCpus='240'>pc</machine>
|
|
<machine maxCpus='240'>rhel6.6.0</machine>
|
|
<machine maxCpus='240'>pc-q35-rhel7.0.0</machine>
|
|
<machine maxCpus='240'>rhel6.4.0</machine>
|
|
<machine canonical='pc-q35-rhel7.1.0' maxCpus='240'>q35</machine>
|
|
<machine maxCpus='240'>pc-i440fx-rhel7.0.0</machine>
|
|
<machine maxCpus='240'>rhel6.2.0</machine>
|
|
<machine maxCpus='240'>rhel6.1.0</machine>
|
|
<machine maxCpus='240'>rhel6.5.0</machine>
|
|
<machine maxCpus='240'>rhel6.0.0</machine>
|
|
<machine maxCpus='240'>rhel6.3.0</machine>
|
|
<domain type='qemu'>
|
|
</domain>
|
|
<domain type='kvm'>
|
|
<emulator>/usr/libexec/qemu-kvm</emulator>
|
|
</domain>
|
|
</arch>
|
|
<features>
|
|
<cpuselection/>
|
|
<deviceboot/>
|
|
<disksnapshot default='on' toggle='no'/>
|
|
<acpi default='on' toggle='yes'/>
|
|
<apic default='on' toggle='no'/>
|
|
<pae/>
|
|
<nonpae/>
|
|
</features>
|
|
</guest>
|
|
|
|
<guest>
|
|
<os_type>hvm</os_type>
|
|
<arch name='x86_64'>
|
|
<wordsize>64</wordsize>
|
|
<emulator>/usr/libexec/qemu-kvm</emulator>
|
|
<machine canonical='pc-i440fx-rhel7.1.0' maxCpus='240'>pc</machine>
|
|
<machine maxCpus='240'>rhel6.6.0</machine>
|
|
<machine maxCpus='240'>pc-q35-rhel7.0.0</machine>
|
|
<machine maxCpus='240'>rhel6.4.0</machine>
|
|
<machine canonical='pc-q35-rhel7.1.0' maxCpus='240'>q35</machine>
|
|
<machine maxCpus='240'>pc-i440fx-rhel7.0.0</machine>
|
|
<machine maxCpus='240'>rhel6.2.0</machine>
|
|
<machine maxCpus='240'>rhel6.1.0</machine>
|
|
<machine maxCpus='240'>rhel6.5.0</machine>
|
|
<machine maxCpus='240'>rhel6.0.0</machine>
|
|
<machine maxCpus='240'>rhel6.3.0</machine>
|
|
<domain type='qemu'>
|
|
</domain>
|
|
<domain type='kvm'>
|
|
<emulator>/usr/libexec/qemu-kvm</emulator>
|
|
</domain>
|
|
</arch>
|
|
<features>
|
|
<cpuselection/>
|
|
<deviceboot/>
|
|
<disksnapshot default='on' toggle='no'/>
|
|
<acpi default='on' toggle='yes'/>
|
|
<apic default='on' toggle='no'/>
|
|
</features>
|
|
</guest>
|
|
|
|
</capabilities>
|