mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-08 22:15:21 +00:00
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:
parent
0a41871562
commit
ca2cf74e87
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user