提交 ca2cf74e 编写于 作者: J John Ferlan

conf: Add xmlopt to virDomainDeviceDefPostParseInternal

Add the xmlopt parameter that was saved during virDomainDefPostParse
to the parameters. A future patch will use it.
Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
上级 0a418715
......@@ -4016,7 +4016,8 @@ virDomainHostdevAssignAddress(virDomainXMLOptionPtr xmlopt,
static int
virDomainDeviceDefPostParseInternal(virDomainDeviceDefPtr dev,
const virDomainDef *def,
virCapsPtr caps ATTRIBUTE_UNUSED)
virCapsPtr caps ATTRIBUTE_UNUSED,
virDomainXMLOptionPtr xmlopt ATTRIBUTE_UNUSED)
{
if (dev->type == VIR_DOMAIN_DEVICE_CHR) {
virDomainChrDefPtr chr = dev->data.chr;
......@@ -4123,7 +4124,7 @@ virDomainDeviceDefPostParse(virDomainDeviceDefPtr dev,
return ret;
}
if ((ret = virDomainDeviceDefPostParseInternal(dev, def, caps)) < 0)
if ((ret = virDomainDeviceDefPostParseInternal(dev, def, caps, xmlopt)) < 0)
return ret;
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册