]> xenbits.xensource.com Git - libvirt.git/commitdiff
Delete bogus cpu-host-passthrough test
authorJán Tomko <jtomko@redhat.com>
Fri, 30 Mar 2018 06:05:58 +0000 (08:05 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 10 Apr 2018 10:22:53 +0000 (12:22 +0200)
We test the same XML for a type='kvm' domain twice, once with
QEMU_CAPS_KVM (expecting success), once without (expecting failure).

The failure case relies on QEMU_CAPS_MACHINE_OPT not being set,
failing in qemuBuildObsoleteAccelArg.

Checking a domain-type error message in a cpu test is strange.
Delete the negative test to allow assuming QEMU_CAPS_MACHINE_OPT by
default.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
tests/qemuxml2argvtest.c

index b37f05683e213d4cf87051a3d87d1f6057e2e3b1..165137e93cc31ca28621455699ab46c9d305a55d 100644 (file)
@@ -1715,7 +1715,6 @@ mymain(void)
     DO_TEST_FAILURE("cpu-host-model-nofallback", NONE);
     skipLegacyCPUs = false;
     DO_TEST("cpu-host-passthrough", QEMU_CAPS_KVM);
-    DO_TEST_FAILURE("cpu-host-passthrough", NONE);
     DO_TEST_FAILURE("cpu-qemu-host-passthrough", QEMU_CAPS_KVM);
 
     qemuTestSetHostArch(driver.caps, VIR_ARCH_S390X);