mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
3f204e4de4
commit
1ff74d67b1
|
@ -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 \
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue