mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-25 10:03:49 +03:00
qemuxml2argvtest: Fix serial-unix-missing-source case
Use x86_64 emulator and machine and remove the nocaps version of the test. Fixes: 80a37e96a95 Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
6ac7e0a06f
commit
856166a268
@ -1 +0,0 @@
|
|||||||
internal error: Missing source path attribute for char device
|
|
@ -1 +1 @@
|
|||||||
unsupported configuration: Emulator '/usr/bin/qemu-system-aarch64' does not support arch 'aarch64'
|
internal error: Missing source path attribute for char device
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
<memory unit='KiB'>1048576</memory>
|
<memory unit='KiB'>1048576</memory>
|
||||||
<vcpu placement='static'>1</vcpu>
|
<vcpu placement='static'>1</vcpu>
|
||||||
<os>
|
<os>
|
||||||
<type arch='aarch64' machine='virt'>hvm</type>
|
<type arch='x86_64' machine='pc'>hvm</type>
|
||||||
</os>
|
</os>
|
||||||
<devices>
|
<devices>
|
||||||
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||||
<serial type='unix'>
|
<serial type='unix'>
|
||||||
<target type='pci-serial'/>
|
<target type='pci-serial'/>
|
||||||
</serial>
|
</serial>
|
||||||
|
@ -1514,7 +1514,6 @@ mymain(void)
|
|||||||
DO_TEST_CAPS_LATEST("serial-dev-chardev-iobase");
|
DO_TEST_CAPS_LATEST("serial-dev-chardev-iobase");
|
||||||
DO_TEST_CAPS_LATEST("serial-file-chardev");
|
DO_TEST_CAPS_LATEST("serial-file-chardev");
|
||||||
DO_TEST_CAPS_LATEST("serial-unix-chardev");
|
DO_TEST_CAPS_LATEST("serial-unix-chardev");
|
||||||
DO_TEST_PARSE_ERROR_NOCAPS("serial-unix-missing-source");
|
|
||||||
DO_TEST("serial-tcp-chardev",
|
DO_TEST("serial-tcp-chardev",
|
||||||
QEMU_CAPS_DEVICE_ISA_SERIAL);
|
QEMU_CAPS_DEVICE_ISA_SERIAL);
|
||||||
DO_TEST("serial-udp-chardev",
|
DO_TEST("serial-udp-chardev",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user