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: John Ferlan <jferlan@redhat.com>
This commit is contained in:
John Ferlan 2015-07-21 14:59:21 -04:00
parent 0a41871562
commit ca2cf74e87

View File

@ -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;