On 02/06/2016 06:27 PM, Roman Bogorodskiy wrote: > Add a stub for nodeDeviceSysfsGetPCIRelatedDevCaps() for non-Linux > platforms. It allows nodedev driver to work on non-Linux platoforms > that, however, have HAL. > --- > src/node_device/node_device_linux_sysfs.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/src/node_device/node_device_linux_sysfs.c b/src/node_device/node_device_linux_sysfs.c > index 431f471..24a6a2e 100644 > --- a/src/node_device/node_device_linux_sysfs.c > +++ b/src/node_device/node_device_linux_sysfs.c > @@ -238,4 +238,11 @@ nodeDeviceSysfsGetSCSIHostCaps(virNodeDevCapDataPtr d ATTRIBUTE_UNUSED) > return -1; > } > > +int > +nodeDeviceSysfsGetPCIRelatedDevCaps(const char *sysfsPath ATTRIBUTE_UNUSED, > + virNodeDevCapDataPtr data ATTRIBUTE_UNUSED) > +{ > + return -1; > +} > + > #endif /* __linux__ */ > ACK - Cole -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list