mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user