virDomainDefParse{File,String}: Introduce @parseOpaque argument

We want to pass the proper opaque pointer instead of NULL to
virDomainDefParse and subsequently virDomainDefParseNode too.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Michal Privoznik
2016-09-26 16:50:12 +02:00
parent da6c604af2
commit c41b989112
33 changed files with 67 additions and 52 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ static int testGetFilesystem(const void *opaque)
abs_srcdir, data->filename) < 0)
goto cleanup;
if (!(def = virDomainDefParseFile(filename, caps, xmlopt, 0)))
if (!(def = virDomainDefParseFile(filename, caps, xmlopt, NULL, 0)))
goto cleanup;
fsdef = virDomainGetFilesystemForTarget(def,