mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 23:07:44 +00:00
Fix build of Xen proxy daemon
* src/conf/domain_conf.c: Allow virDomainDeviceInfoIsSet, virDomainDeviceInfoClear & virDomainDeviceInfoFormat when building Xen proxy
This commit is contained in:
parent
8a73fe5936
commit
ad4f092443
@ -799,6 +799,7 @@ int virDomainDeviceDriveAddressIsValid(virDomainDeviceDriveAddressPtr addr ATTRI
|
||||
/*return addr->controller || addr->bus || addr->unit;*/
|
||||
return 1; /* 0 is valid for all fields, so any successfully parsed addr is valid */
|
||||
}
|
||||
#endif /* !PROXY */
|
||||
|
||||
|
||||
int virDomainDeviceInfoIsSet(virDomainDeviceInfoPtr info)
|
||||
@ -863,6 +864,8 @@ static int virDomainDeviceInfoFormat(virBufferPtr buf,
|
||||
}
|
||||
|
||||
|
||||
#ifndef PROXY
|
||||
|
||||
int virDomainDevicePCIAddressEqual(virDomainDevicePCIAddressPtr a,
|
||||
virDomainDevicePCIAddressPtr b)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user