On 10/30/2017 10:26 AM, Ferruh Yigit wrote: > On 10/30/2017 9:36 AM, Gaetan Rivet wrote: >> From: Jerin Jacob <jerin.ja...@caviumnetworks.com> >> >> Revert back to using VFIO_PRESENT as a marker to enable compilation >> of VFIO-related segments. >> >> Fixes: 279b581c897d ("vfio: expose functions") >> >> Signed-off-by: Jerin Jacob <jerin.ja...@caviumnetworks.com> >> Signed-off-by: Gaetan Rivet <gaetan.ri...@6wind.com> > > Tested-by: Ferruh Yigit <ferruh.yi...@intel.com>
Opps, this still will break the build with kernel < 3.6 Because rte_vfio.h includes "linux/vfio.h" unconditionally, I am still for adding a version check in it to fix build for old kernels.