mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-04 10:23:02 -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:
@@ -704,7 +704,7 @@ get_definition(vahControl * ctl, const char *xmlStr)
|
||||
}
|
||||
|
||||
ctl->def = virDomainDefParseString(xmlStr,
|
||||
ctl->caps, ctl->xmlopt,
|
||||
ctl->caps, ctl->xmlopt, NULL,
|
||||
VIR_DOMAIN_DEF_PARSE_SKIP_VALIDATE);
|
||||
|
||||
if (ctl->def == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user