mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
qemuxml2argvtest: Fix serial-unix-missing-source case
Use x86_64 emulator and machine and remove the nocaps version of the
test.
Fixes: 80a37e96a9
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>
|
||||
<vcpu placement='static'>1</vcpu>
|
||||
<os>
|
||||
<type arch='aarch64' machine='virt'>hvm</type>
|
||||
<type arch='x86_64' machine='pc'>hvm</type>
|
||||
</os>
|
||||
<devices>
|
||||
<emulator>/usr/bin/qemu-system-aarch64</emulator>
|
||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||
<serial type='unix'>
|
||||
<target type='pci-serial'/>
|
||||
</serial>
|
||||
|
@ -1514,7 +1514,6 @@ mymain(void)
|
||||
DO_TEST_CAPS_LATEST("serial-dev-chardev-iobase");
|
||||
DO_TEST_CAPS_LATEST("serial-file-chardev");
|
||||
DO_TEST_CAPS_LATEST("serial-unix-chardev");
|
||||
DO_TEST_PARSE_ERROR_NOCAPS("serial-unix-missing-source");
|
||||
DO_TEST("serial-tcp-chardev",
|
||||
QEMU_CAPS_DEVICE_ISA_SERIAL);
|
||||
DO_TEST("serial-udp-chardev",
|
||||
|
Loading…
Reference in New Issue
Block a user