qemumonitorjsontest: Remove tripwire guarding object-add QAPIfication

Libvirt is now prepared for QAPIfied object-add.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Peter Krempa 2020-11-26 18:31:47 +01:00
parent 7dea29431e
commit fd4b791fc2

View 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;
}