mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 06:35:24 +00:00
util: add stub pciConfigAddressToSysfsFile for non-linux platforms
Absence of this stub function caused a build failure on mingw32.
This commit is contained in:
parent
4d2e8355cb
commit
09d22af194
@ -2208,6 +2208,15 @@ pciGetVirtualFunctionIndex(const char *pf_sysfs_device_link ATTRIBUTE_UNUSED,
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
pciConfigAddressToSysfsFile(struct pci_config_address *dev ATTRIBUTE_UNUSED,
|
||||||
|
char **pci_sysfs_device_link ATTRIBUTE_UNUSED)
|
||||||
|
{
|
||||||
|
pciReportError(VIR_ERR_INTERNAL_ERROR, _("pciConfigAddressToSysfsFile is not "
|
||||||
|
"supported on non-linux platforms"));
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
pciDeviceNetName(char *device_link_sysfs_path ATTRIBUTE_UNUSED,
|
pciDeviceNetName(char *device_link_sysfs_path ATTRIBUTE_UNUSED,
|
||||||
char **netname ATTRIBUTE_UNUSED)
|
char **netname ATTRIBUTE_UNUSED)
|
||||||
|
Loading…
Reference in New Issue
Block a user