GHashTable *capsLatestFiles;
GHashTable *capsCache;
GHashTable *schemaCache;
+ GHashTable *schema;
};
static int
if (qemuHotplugCreateObjects(driver.xmlopt, &vm, domain_xml,
test->arch, test->capsLatestFiles,
test->capsCache, test->schemaCache,
- NULL) < 0)
+ &test->schema) < 0)
goto cleanup;
}
/* Now is the best time to feed the spoofed monitor with predefined
* replies. */
- if (!(test_mon = qemuMonitorTestNew(driver.xmlopt, vm, NULL, NULL)))
+ if (!(test_mon = qemuMonitorTestNew(driver.xmlopt, vm, NULL, test->schema)))
goto cleanup;
tmp = test->mon;