Libvirt is now prepared for QAPIfied object-add.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
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;
}