[PATCH v4 09/13] qemumonitorjsontest: Remove tripwire guarding object-add QAPIfication

Peter Krempa pkrempa at redhat.com
Fri Mar 19 14:33:40 UTC 2021


Libvirt is now prepared for QAPIfied object-add.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 tests/qemumonitorjsontest.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/tests/qemumonitorjsontest.c b/tests/qemumonitorjsontest.c
index 82c74e2ef9..48b41c908a 100644
--- a/tests/qemumonitorjsontest.c
+++ b/tests/qemumonitorjsontest.c
@@ -2740,20 +2740,6 @@ testQAPISchemaObjectDeviceAdd(const void *opaque)
         return -1;
     }

-    if (virQEMUQAPISchemaPathGet("object-add/arg-type", schema, &entry) < 0) {
-        fprintf(stderr, "schema for 'objectadd' not found\n");
-        return -1;
-    }
-
-    if (testQEMUSchemaEntryMatchTemplate(entry,
-                                         "str:qom-type",
-                                         "str:id",
-                                         "any:props",
-                                         NULL) < 0) {
-        VIR_TEST_VERBOSE("object-add has unexpected members in schema");
-        return -1;
-    }
-
     return 0;
 }

-- 
2.29.2




More information about the libvir-list mailing list