]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Fix use of virtio-serial for aarch64/virt
authorAndrea Bolognani <abologna@redhat.com>
Thu, 30 Aug 2018 16:03:58 +0000 (18:03 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 5 Sep 2018 13:54:41 +0000 (15:54 +0200)
commit0770587d28f7b7495172b41da6a6476467cf374e
treea279bd599dcf0b78830ab5e25b642e16188bff16
parentca7ad978a96574d904cabe48996dc2b8e1b8bb57
tests: Fix use of virtio-serial for aarch64/virt

virtio-serial is an alias for virtio-serial-pci, which
should not have been used for a PCIe-less aarch64/virt
guest but it ended up being used anyway because the
virtio-mmio capability was missing and the algorithm
is buggy.

Fix the test case so that we can fix the algorithm next.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvdata/mach-virt-console-virtio.args
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/mach-virt-console-virtio.xml
tests/qemuxml2xmltest.c