Re: [PATCH] KVM: selftests: Only link to VFIO library on x86

From: Sean Christopherson

Date: Wed Aug 05 2026 - 13:00:30 EST


On Thu, 30 Jul 2026 09:51:59 -0700, Sean Christopherson wrote:
> Link to the VFIO library only on architectures where it's actually needed,
> i.e. only on architectures that support irq_test, which is currently
> x86-only. The irq_test series, which pulled in VFIO support, effectively
> raced with commit e65f1bf8a2db ("vfio: selftests: Extend container/iommufd
> setup for passing vf_token"). I.e. when the KVM test was posted, pulling
> in libvfio.mk didn't require linking to any new libraries other than VFIO
> itself.
>
> [...]

Applied to kvm-x86 selftests2, thanks!

[1/1] KVM: selftests: Only link to VFIO library on x86
https://github.com/kvm-x86/linux/commit/2f0c30d0d175

--
https://github.com/kvm-x86/linux/tree/next