cda9441996
Since the older kernel version do not implement the device request interface for vfio, so when build on the kernel < v4.0.0, which is the version begin to add the device request interface, it will throw the error to show “VFIO_PCI_REQ_IRQ_INDEX” is undeclared. This patch aim to fix this compile issue by add the macro “HAVE_VFIO_DEV_REQ_INTERFACE” after checking the kernel version. Fixes: |
||
---|---|---|
.. | ||
bsd | ||
linux | ||
Makefile | ||
meson.build | ||
pci_common_uio.c | ||
pci_common.c | ||
pci_params.c | ||
private.h | ||
rte_bus_pci_version.map | ||
rte_bus_pci.h |