Re: [PATCH v3 0/5] vfio: selftests: Automatically detect the IOMMU mode

From: Sean Christopherson

Date: Tue Nov 10 2026 - 15:49:35 EST


On Mon, Nov 09, 2026, David Matlack wrote:
> This series makes the VFIO selftests library automatically detect which
> IOMMU mode to use, rather than hardcoding iommufd as the default, and
> makes tests skip, rather than fail, when the IOMMU mode they need is not
> available. This was suggested by Sean while reviewing the KVM selftest
> irq_test [1].

...

> David Matlack (5):
> vfio: selftests: Automatically detect the IOMMU mode in iommu_init()
> vfio: selftests: Skip tests when the IOMMU mode is not available
> vfio: selftests: Print the IOMMU modes when a requested mode can't be
> used
> KVM: selftests: Use VFIO selftests library to pick IOMMU mode in
> irq_test
> KVM: selftests: List the IOMMU modes in irq_test's help output

Thanks much, looks awesome!

Acked-by: Sean Christopherson <seanjc@xxxxxxxxxx>