mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 15:52:55 +00:00
build: Fix broken build on FreeBSD and OSX after recent nodedev series
Commits f83c7c88 and 6eb1f2b9 broke the build on FreeBSD and OSX because of symbols being undefined for those platforms. Signed-off-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
6b7c5c4726
commit
b7a7912411
@ -2805,6 +2805,12 @@ virNodeDeviceGetPCIDynamicCaps(const char *sysfsPath,
|
||||
|
||||
#else
|
||||
|
||||
int
|
||||
virNodeDeviceGetSCSIHostCaps(virNodeDevCapSCSIHostPtr scsi_host ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
int
|
||||
virNodeDeviceGetPCIDynamicCaps(const char *sysfsPath ATTRIBUTE_UNUSED,
|
||||
virNodeDevCapPCIDevPtr pci_dev ATTRIBUTE_UNUSED)
|
||||
|
@ -3158,6 +3158,15 @@ virPCIGetVirtualFunctionInfo(const char *vf_sysfs_device_path ATTRIBUTE_UNUSED,
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _(unsupported));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
ssize_t
|
||||
virPCIGetMdevTypes(const char *sysfspath ATTRIBUTE_UNUSED,
|
||||
virMediatedDeviceTypePtr **types ATTRIBUTE_UNUSED)
|
||||
{
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _(unsupported));
|
||||
return -1;
|
||||
}
|
||||
#endif /* __linux__ */
|
||||
|
||||
int
|
||||
|
Loading…
x
Reference in New Issue
Block a user