[PATCH 22/24] qemumonitorjsontest: Remove bomb guarding object-add
Peter Krempa
pkrempa at redhat.com
Mon Nov 30 18:55:35 UTC 2020
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 5a3926bb11..47c909fd7a 100644
--- a/tests/qemumonitorjsontest.c
+++ b/tests/qemumonitorjsontest.c
@@ -2906,20 +2906,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.28.0
More information about the libvir-list
mailing list