[PATCH 24/24] [DONTMERGE] qemuxml2argvtest: Force QMP validation with latest caps

Peter Krempa pkrempa at redhat.com
Mon Nov 30 18:55:36 UTC 2020


Note that it's expected that the 'vxhs' and 'sev-guest' test cases fail
as this overrides just the QMP schema but not the qemu capabilities
which result in enabling the features that are missing.
---
 tests/qemuxml2argvtest.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index fafc214e57..a73408c029 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -531,9 +531,9 @@ testCompareXMLToArgvValidateSchema(virQEMUDriverPtr drv,
     if (info->schemafile)
         schema = testQEMUSchemaLoad(info->schemafile);

-    /* comment out with line comment to enable schema checking for non _CAPS tests
-    if (!schema)
-        schema = testQEMUSchemaLoadLatest(virArchToString(info->arch));
+//    /* comment out with line comment to enable schema checking for non _CAPS tests
+//    if (!schema)
+    schema = testQEMUSchemaLoadLatest("x86_64");
     // */

     if (!schema)
-- 
2.28.0




More information about the libvir-list mailing list