diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c index a4f6c39cb7d71473fd280d2b4037c1ca4498ec5b..536a992404f3cd0ce186c39f8c5d1259a04277fd 100644 --- a/src/vz/vz_driver.c +++ b/src/vz/vz_driver.c @@ -1509,7 +1509,7 @@ static int vzDomainAttachDeviceFlags(virDomainPtr domain, const char *xml, goto cleanup; dev = virDomainDeviceDefParse(xml, dom->def, driver->caps, - driver->xmlopt, VIR_DOMAIN_XML_INACTIVE); + driver->xmlopt, NULL, VIR_DOMAIN_XML_INACTIVE); if (dev == NULL) goto cleanup; @@ -1565,7 +1565,7 @@ static int vzDomainDetachDeviceFlags(virDomainPtr domain, const char *xml, goto cleanup; dev = virDomainDeviceDefParse(xml, dom->def, driver->caps, - driver->xmlopt, + driver->xmlopt, NULL, VIR_DOMAIN_XML_INACTIVE | VIR_DOMAIN_DEF_PARSE_SKIP_VALIDATE); if (dev == NULL) @@ -1657,7 +1657,7 @@ static int vzDomainUpdateDeviceFlags(virDomainPtr domain, goto cleanup; if (!(dev = virDomainDeviceDefParse(xml, dom->def, driver->caps, - driver->xmlopt, + driver->xmlopt, NULL, VIR_DOMAIN_XML_INACTIVE))) goto cleanup;