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:
Peter Krempa 2023-03-02 17:50:07 +01:00
parent 6ac7e0a06f
commit 856166a268
4 changed files with 3 additions and 5 deletions

View File

@ -1 +0,0 @@
internal error: Missing source path attribute for char device

View File

@ -1 +1 @@
unsupported configuration: Emulator '/usr/bin/qemu-system-aarch64' does not support arch 'aarch64'
internal error: Missing source path attribute for char device

View File

@ -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>

View File

@ -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",