mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-08 12:41:29 +00:00
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:
parent
7dea29431e
commit
fd4b791fc2
@ -2740,20 +2740,6 @@ testQAPISchemaObjectDeviceAdd(const void *opaque)
|
|||||||
return -1;
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user