]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemumonitorjsontest: Remove tripwire guarding object-add QAPIfication
authorPeter Krempa <pkrempa@redhat.com>
Thu, 26 Nov 2020 17:31:47 +0000 (18:31 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 23 Mar 2021 13:06:31 +0000 (14:06 +0100)
Libvirt is now prepared for QAPIfied object-add.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemumonitorjsontest.c

index 82c74e2ef9172b7240a1086d955b9f6b77e8aad8..48b41c908a4c0d90f1ae0a919d74f7ac8c7e9224 100644 (file)
@@ -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;
 }