tests: Add armv7l domcaps data, and use it
Rather than using a hacked x86 domcaps data Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
c0c69b1708
commit
b24892448c
|
@ -1,6 +1,6 @@
|
|||
<domainCapabilities>
|
||||
<path>/usr/libexec/qemu-kvm</path>
|
||||
<domain>qemu</domain>
|
||||
<domain>kvm</domain>
|
||||
<machine>virt</machine>
|
||||
<arch>aarch64</arch>
|
||||
<vcpu max='255'/>
|
||||
|
|
|
@ -0,0 +1,75 @@
|
|||
<domainCapabilities>
|
||||
<path>/usr/libexec/qemu-kvm</path>
|
||||
<domain>kvm</domain>
|
||||
<machine>virt</machine>
|
||||
<arch>armv7l</arch>
|
||||
<vcpu max='255'/>
|
||||
<os supported='yes'>
|
||||
<loader supported='yes'>
|
||||
<value>/usr/share/edk2/arm/QEMU_EFI.fd</value>
|
||||
<enum name='type'>
|
||||
<value>rom</value>
|
||||
<value>pflash</value>
|
||||
</enum>
|
||||
<enum name='readonly'>
|
||||
<value>yes</value>
|
||||
<value>no</value>
|
||||
</enum>
|
||||
</loader>
|
||||
</os>
|
||||
<devices>
|
||||
<disk supported='yes'>
|
||||
<enum name='diskDevice'>
|
||||
<value>disk</value>
|
||||
<value>cdrom</value>
|
||||
<value>floppy</value>
|
||||
<value>lun</value>
|
||||
</enum>
|
||||
<enum name='bus'>
|
||||
<value>ide</value>
|
||||
<value>fdc</value>
|
||||
<value>scsi</value>
|
||||
<value>virtio</value>
|
||||
</enum>
|
||||
</disk>
|
||||
<graphics supported='yes'>
|
||||
<enum name='type'>
|
||||
<value>sdl</value>
|
||||
<value>vnc</value>
|
||||
</enum>
|
||||
</graphics>
|
||||
<video supported='yes'>
|
||||
<enum name='modelType'>
|
||||
<value>qxl</value>
|
||||
<value>virtio</value>
|
||||
</enum>
|
||||
</video>
|
||||
<hostdev supported='yes'>
|
||||
<enum name='mode'>
|
||||
<value>subsystem</value>
|
||||
</enum>
|
||||
<enum name='startupPolicy'>
|
||||
<value>default</value>
|
||||
<value>mandatory</value>
|
||||
<value>requisite</value>
|
||||
<value>optional</value>
|
||||
</enum>
|
||||
<enum name='subsysType'>
|
||||
<value>usb</value>
|
||||
<value>pci</value>
|
||||
<value>scsi</value>
|
||||
</enum>
|
||||
<enum name='capsType'/>
|
||||
<enum name='pciBackend'/>
|
||||
</hostdev>
|
||||
</devices>
|
||||
<features>
|
||||
<gic supported='yes'>
|
||||
<enum name='version'>
|
||||
<value>2</value>
|
||||
</enum>
|
||||
</gic>
|
||||
</features>
|
||||
</domainCapabilities>
|
||||
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
<vcpu>2</vcpu>
|
||||
<os>
|
||||
<type arch="armv7l" machine="virt">hvm</type>
|
||||
<loader readonly="yes" type="pflash">/usr/share/edk2/arm/QEMU_EFI-pflash.raw</loader>
|
||||
<loader readonly="yes" type="pflash">/usr/share/edk2/arm/QEMU_EFI.fd</loader>
|
||||
<boot dev="hd"/>
|
||||
</os>
|
||||
<cpu mode="host-passthrough"/>
|
||||
|
|
|
@ -92,8 +92,8 @@ class _URIs(object):
|
|||
self.kvm_amd_sev = _uri_kvm_amd_sev + _caps("kvm-x86_64.xml")
|
||||
|
||||
self.kvm_armv7l_nodomcaps = _uri_qemu + _caps("kvm-armv7l.xml")
|
||||
self.kvm_armv7l = self.kvm_armv7l_nodomcaps + _domcaps("kvm-x86_64-domcaps.xml")
|
||||
self.kvm_aarch64 = _uri_kvm_aarch64 + _caps("kvm-aarch64.xml")
|
||||
self.kvm_armv7l = self.kvm_armv7l_nodomcaps + _domcaps("kvm-armv7l-domcaps.xml")
|
||||
self.kvm_aarch64 = _uri_kvm_aarch64 + _caps("kvm-aarch64.xml") + _domcaps("kvm-aarch64-domcaps.xml")
|
||||
self.kvm_ppc64le = _uri_kvm + _caps("kvm-ppc64le.xml")
|
||||
self.kvm_s390x = _uri_kvm + _caps("kvm-s390x.xml")
|
||||
self.kvm_s390x_KVMIBM = _uri_kvm + _caps("kvm-s390x-KVMIBM.xml")
|
||||
|
|
Loading…
Reference in New Issue