qemuxml2argvtest: Fix q35-virt-manager capabilities

Use QEMU_CAPS_MACHINE_OPT and QEMU_CAPS_MACHINE_VMPORT_OPT
since it specifies <vmport state=off/>.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
Ján Tomko 2018-03-30 07:58:15 +02:00
parent 3f204e4de4
commit 1ff74d67b1
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@ QEMU_AUDIO_DRV=spice \
/usr/bin/qemu-system-x86_64 \
-name virt-manager-basic \
-S \
-M pc-q35-2.7 \
-machine pc-q35-2.7,accel=kvm,vmport=off \
-m 4096 \
-smp 2,sockets=2,cores=1,threads=1 \
-uuid 1b826c23-8767-47ad-a6b5-c83a88277f71 \

View File

@ -2384,6 +2384,8 @@ mymain(void)
DO_TEST("q35-virt-manager-basic",
QEMU_CAPS_KVM,
QEMU_CAPS_RTC,
QEMU_CAPS_MACHINE_OPT,
QEMU_CAPS_MACHINE_VMPORT_OPT,
QEMU_CAPS_ICH9_DISABLE_S3,
QEMU_CAPS_ICH9_DISABLE_S4,
QEMU_CAPS_VIRTIO_PCI_DISABLE_LEGACY,