/**
* Validate that the schema member doesn't have some significant features:
* - 'deprecated' - schema member is deprecated
+ * - 'unstable' - schema member is considered unstable
*/
static int
testQEMUSchemaValidateFeatures(virJSONValue *root,
return -2;
}
+ if (STREQ(curstr, "unstable")) {
+ virBufferAsprintf(ctxt->debug, "ERROR: '%s' is unstable", name);
+ return -1;
+ }
+
if (STREQ(curstr, "deprecated")) {
if (ctxt->allowDeprecated) {
virBufferAsprintf(ctxt->debug, "WARNING: '%s' is deprecated", name);