[RFC v2 2/9] vfio: remove confusing check on VFIO presence

Burakov, Anatoly anatoly.burakov at intel.com
Fri Sep 19 15:14:05 CEST 2025


On 9/3/2025 5:17 PM, David Marchand wrote:
> Contrary to what the VFIO_PRESENT macro may suggest, there is no check on
> whether VFIO is enabled in the (build system) Linux kernel configuration.
> 
> Replace check on VFIO_PRESENT with RTE_EAL_VFIO (for components built on
> FreeBSD or Windows), or simply remove it otherwise.
> 
> Then remove inclusion of rte_vfio.h when the only purpose was checking
> VFIO_PRESENT.
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> Reviewed-by: Rosen Xu <rosen.xu at altera.com>
> ---

Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the dev mailing list