]> xenbits.xensource.com Git - libvirt.git/commit
qemu: support virt-2.6 machine type on arm
authorJán Tomko <jtomko@redhat.com>
Fri, 8 Apr 2016 08:46:41 +0000 (10:46 +0200)
committerJán Tomko <jtomko@redhat.com>
Fri, 8 Apr 2016 12:15:51 +0000 (14:15 +0200)
commitf06ca25d235433f9139cbfb3d5d9eae7409156b9
tree67f80b59706e9a3a580c2678b91ad6e58441e83e
parentf854c559b9e7a40152e2f8c1c360ed92ee174c00
qemu: support virt-2.6 machine type on arm

Some places already check for "virt-" prefix as well as plain "virt".
virQEMUCapsHasPCIMultiBus did not, resulting in multiple PCI devices
having assigned the same unnumbered "pci" alias.

Add a test for the "virt-2.6" machine type which also omits the
<model type='virtio'/> in <interface>, to check if
qemuDomainDefaultNetModel works too.

https://bugzilla.redhat.com/show_bug.cgi?id=1325085
src/qemu/qemu_capabilities.c
src/qemu/qemu_domain.c
tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-2.6-virtio-pci-default.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-2.6-virtio-pci-default.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c