mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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:
@@ -76,7 +76,7 @@ testCompareFiles(const char *xml, const char *vmx, int virtualHW_version)
|
||||
char *formatted = NULL;
|
||||
virDomainDefPtr def = NULL;
|
||||
|
||||
def = virDomainDefParseFile(xml, caps, xmlopt,
|
||||
def = virDomainDefParseFile(xml, caps, xmlopt, NULL,
|
||||
VIR_DOMAIN_DEF_PARSE_INACTIVE);
|
||||
|
||||
if (def == NULL)
|
||||
|
||||
Reference in New Issue
Block a user