提交 0991baa1 编写于 作者: N Nikolay Shirokovskiy

vz: build fix for passing qemuCaps to virDomainDeviceDefPostParse

Missing piece for [1].

[1] b449c270: qemu: Pass correct qemuCaps to virDomainDeviceDefPostParse
Signed-off-by: NNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
上级 cd9cbeff
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册