[dpdk-dev] [PATCH 2/2] vfio: fix build issue

Thomas Monjalon thomas at monjalon.net
Tue Oct 16 14:55:58 CEST 2018


16/10/2018 14:52, Ferruh Yigit:
> On 10/16/2018 12:42 PM, Jeff Guo wrote:
> > 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.
> > 
> > Signed-off-by: Jeff Guo <jia.guo at intel.com>
> 
> Fixes: 0eb8a1c4c786 ("vfio: add request notifier interrupt")
> Fixes: c115fd000c32 ("vfio: handle hotplug request notifier")
> 
> Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>

Series applies, thanks





More information about the dev mailing list