conf: drop virCapsPtr param from snapshot & checkpoint APIs

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé
2019-11-27 13:10:21 +00:00
parent 1cd2b2d545
commit 575d9d2504
12 changed files with 29 additions and 63 deletions

View File

@@ -54,7 +54,7 @@ testCompareXMLToXMLFiles(const char *inxml,
if (virTestLoadFile(outxml, &outXmlData) < 0)
goto cleanup;
if (!(def = virDomainSnapshotDefParseString(inXmlData, driver.caps,
if (!(def = virDomainSnapshotDefParseString(inXmlData,
driver.xmlopt, NULL, &cur,
parseflags)))
goto cleanup;
@@ -69,7 +69,7 @@ testCompareXMLToXMLFiles(const char *inxml,
def->state = VIR_DOMAIN_RUNNING;
}
if (!(actual = virDomainSnapshotDefFormat(uuid, def, driver.caps,
if (!(actual = virDomainSnapshotDefFormat(uuid, def,
driver.xmlopt,
formatflags)))
goto cleanup;