[PATCH] KVM: selftests: Add CONFIG_EVENTFD for irqfd selftest

Mark Brown posted 1 patch 2 months, 4 weeks ago
tools/testing/selftests/kvm/config | 1 +
1 file changed, 1 insertion(+)
[PATCH] KVM: selftests: Add CONFIG_EVENTFD for irqfd selftest
Posted by Mark Brown 2 months, 4 weeks ago
In 7e9b231c402a ("KVM: selftests: Add a KVM_IRQFD test to verify
uniqueness requirements") we added a test for the newly added irqfd
support but since this feature works with eventfds it won't work unless
the kernel has been built wth eventfd support.  Add CONFIG_EVENTFD to
the list of required options for the KVM selftests.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 tools/testing/selftests/kvm/config | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/kvm/config b/tools/testing/selftests/kvm/config
index 8835fed09e9f..96d874b239eb 100644
--- a/tools/testing/selftests/kvm/config
+++ b/tools/testing/selftests/kvm/config
@@ -1,5 +1,6 @@
 CONFIG_KVM=y
 CONFIG_KVM_INTEL=y
 CONFIG_KVM_AMD=y
+CONFIG_EVENTFD=y
 CONFIG_USERFAULTFD=y
 CONFIG_IDLE_PAGE_TRACKING=y

---
base-commit: 7e9b231c402a297251b3e6e0f5cc16cef7dd3ce5
change-id: 20250709-kvm-selftests-eventfd-config-123bb022fa04

Best regards,
--  
Mark Brown <broonie@kernel.org>
Re: [PATCH] KVM: selftests: Add CONFIG_EVENTFD for irqfd selftest
Posted by Sean Christopherson 2 months, 4 weeks ago
On Thu, 10 Jul 2025 12:12:20 +0100, Mark Brown wrote:
> In 7e9b231c402a ("KVM: selftests: Add a KVM_IRQFD test to verify
> uniqueness requirements") we added a test for the newly added irqfd
> support but since this feature works with eventfds it won't work unless
> the kernel has been built wth eventfd support.  Add CONFIG_EVENTFD to
> the list of required options for the KVM selftests.
> 
> 
> [...]

Applied to kvm-x86 irqs, thanks!

[1/1] KVM: selftests: Add CONFIG_EVENTFD for irqfd selftest
      https://github.com/kvm-x86/linux/commit/81bf24f1ac77

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