]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemuxml2argvtest: Remove negative test case 'pseries-features-htp-resize'
authorPeter Krempa <pkrempa@redhat.com>
Wed, 7 Apr 2021 13:31:47 +0000 (15:31 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 3 May 2021 10:14:44 +0000 (12:14 +0200)
All supported qemu versions now have the flag so the test doesn't make
sense any more.

The flag setting will be moved to virQEMUCapsInitQMPBasicArch which will
make this test fail.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
tests/qemuxml2argvdata/pseries-features-htp-resize.err [deleted file]
tests/qemuxml2argvdata/pseries-features-htp-resize.xml [deleted symlink]
tests/qemuxml2argvtest.c

diff --git a/tests/qemuxml2argvdata/pseries-features-htp-resize.err b/tests/qemuxml2argvdata/pseries-features-htp-resize.err
deleted file mode 100644 (file)
index d35c66b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-unsupported configuration: HTP resizing is not supported by this QEMU binary
diff --git a/tests/qemuxml2argvdata/pseries-features-htp-resize.xml b/tests/qemuxml2argvdata/pseries-features-htp-resize.xml
deleted file mode 120000 (symlink)
index e7b69bb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-pseries-features.xml
\ No newline at end of file
index 0aff7be89fabc6063d83743c3ba3490c773d6223..2f35b54794398b602d596c8a111dc282ddcd4b83 100644 (file)
@@ -2320,17 +2320,6 @@ mymain(void)
             QEMU_CAPS_MACHINE_PSERIES_CAP_IBS,
             QEMU_CAPS_MACHINE_PSERIES_RESIZE_HPT);
 
-    /* parse error: no QEMU_CAPS_MACHINE_PSERIES_RESIZE_HPT */
-    DO_TEST_PARSE_ERROR("pseries-features-htp-resize",
-                        QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE,
-                        QEMU_CAPS_MACHINE_PSERIES_CAP_HPT_MAX_PAGE_SIZE,
-                        QEMU_CAPS_MACHINE_PSERIES_CAP_HTM,
-                        QEMU_CAPS_MACHINE_PSERIES_CAP_NESTED_HV,
-                        QEMU_CAPS_MACHINE_PSERIES_CAP_CCF_ASSIST,
-                        QEMU_CAPS_MACHINE_PSERIES_CAP_CFPC,
-                        QEMU_CAPS_MACHINE_PSERIES_CAP_SBBC,
-                        QEMU_CAPS_MACHINE_PSERIES_CAP_IBS);
-
     /* parse error: no QEMU_CAPS_MACHINE_PSERIES_CAP_HPT_MAX_PAGE_SIZE */
     DO_TEST_PARSE_ERROR("pseries-features-hpt-pagesize",
                         QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE,