mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-11 05:24:44 -05:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user