Re: [PATCH v2 00/14] KVM: selftests: Link with VFIO selftests lib and test device interrupts

Josh Hilke
2026-04-02T18:07:29Z

On Thu, Apr 2, 2026 at 10:57 AM David Matlack <dmatlack@google.com> wrote:
>
> On Thu, Apr 2, 2026 at 10:35 AM Sean Christopherson <seanjc@google.com> wrote:
>
> > However! We _do_ have a KVM testing gap that can be trivially filled as there
> > is no existing eventfd_signal() => KVM IRQ injection selftest. And this test is
> > pretty much exactly that. I just don't want to deal with jumping through VFIO
> > hoops for effectively no coverage (for KVM).
> >
> > If we strip out that fluff, then the test is runnable without _any_ VFIO
> > involvement, which means it can run by default, e.g. in n environments without
> > VFIO or VFIO-able devices, e.g. in automated CI testgrids.
> >
> > Something like so. And then we should also rename the test to drop vfio_pci from
> > the name, as the VFIO aspect becomes purely optional.
>
> That plan sounds good to me!

Awesome, thanks for the thorough example, Sean!
I'll go with this approach in v3 :)