Re: [PATCH v8 00/20] KVM: selftests: Add eventfd+VFIO IRQ test
From: Sean Christopherson
Date: Tue Jul 14 2026 - 15:51:01 EST
On Fri, 26 Jun 2026 14:35:13 -0700, Sean Christopherson wrote:
> David and Josh's series to add a selftest for verifying interrupt delivery
> via eventfd (via KVM_IRQFD), and also from a real device, wired up via VFIO.
>
> Gory details in the patches, and in the v5 cover letter.
>
> v8:
> - Explicitly include <time.h>. [Sashiko]
> - Use iova_allocator instea of hardcoding the IOVA. [Sashiko, David]
> - Add a comment explaining why DMA needs to be allocated. [David]
> - Probe /dev/vfio/vfio, not /dev/vfio. [Sashiko, David]
>
> [...]
Applied to kvm-x86 irq_test, thanks!
[01/20] KVM: selftests: Build and link selftests/vfio/lib into KVM selftests
https://github.com/kvm-x86/linux/commit/a262fc49e0aa
[02/20] KVM: selftests: Add macros to read/write+sync to/from guest memory
https://github.com/kvm-x86/linux/commit/ac050f2adcdf
[03/20] KVM: selftests: Rename guest_rng to kvm_rng
https://github.com/kvm-x86/linux/commit/e0bd29eddf7e
[04/20] KVM: selftests: Initialize the default/global pRNG during kvm_selftest_init()
https://github.com/kvm-x86/linux/commit/bae85cd758fe
[05/20] KVM: selftests: Seed libc's RNG before using it to generate a seed for KVM's pRNG
https://github.com/kvm-x86/linux/commit/5506feb24282
[06/20] KVM: selftests: Add helper to generate random u64 in range [min,max]
https://github.com/kvm-x86/linux/commit/c772591d279e
[07/20] KVM: selftests: Add an irqfd send+receive (and later IRQ bypass) test
https://github.com/kvm-x86/linux/commit/3ceab37ac973
[08/20] KVM: selftests: Add helper to get host IRQ from device MSI-X for IRQ bypass test
https://github.com/kvm-x86/linux/commit/362cc0016249
[09/20] KVM: selftests: Add VFIO device support to eventfd IRQ test
https://github.com/kvm-x86/linux/commit/3902e8b02dce
[10/20] KVM: selftests: Add a helper to set proc IRQ affinity for IRQ test
https://github.com/kvm-x86/linux/commit/380b0e5e0e30
[11/20] KVM: selftests: Verify interrupts are received when IRQ affinity changes in IRQ test
https://github.com/kvm-x86/linux/commit/197b0cd9ac66
[12/20] KVM: selftests: Add option to set empty routing between IRQs in eventfd IRQ test
https://github.com/kvm-x86/linux/commit/ec333e3ace25
[13/20] KVM: selftests: Make number of IRQs configurable in IRQ test
https://github.com/kvm-x86/linux/commit/38950af64a1c
[14/20] KVM: selftests: Verify non-postable IRQ remapping in IRQ test
https://github.com/kvm-x86/linux/commit/25e268b76e77
[15/20] KVM: selftests: Add kvm_gettid() wrapper and convert users
https://github.com/kvm-x86/linux/commit/4512b2776631
[16/20] KVM: selftests: Add kvm_sched_getaffinity() wrapper and convert users
https://github.com/kvm-x86/linux/commit/76703ca0cbab
[17/20] KVM: selftests: Add a utility to pin a task to a random CPU, given a CPU set
https://github.com/kvm-x86/linux/commit/26fd1fb4737a
[18/20] KVM: selftests: Verify vCPU migration during IRQ delivery in IRQ test
https://github.com/kvm-x86/linux/commit/6b9470baea6c
[19/20] KVM: selftests: Make number of vCPUs configurable in IRQ test
https://github.com/kvm-x86/linux/commit/0315713a1938
[20/20] KVM: selftests: Add xAPIC support in eventfd IRQ test
https://github.com/kvm-x86/linux/commit/2708ecca4dbd
--
https://github.com/kvm-x86/linux/tree/next