]> git.ipfire.org Git - thirdparty/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)
committerCole Robinson <crobinso@redhat.com>
Thu, 14 Apr 2016 22:53:50 +0000 (18:53 -0400)
commit044c2d95bfbb38f390ab368f32aff5e74cbd9249
treea09a97d548d63c47a06335bb070ca2834078e43a
parent0086221cb377c7a1c2df58b8ee5eb8223f989765
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
(cherry picked from commit f06ca25d235433f9139cbfb3d5d9eae7409156b9)
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