summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-10-18 19:11:56 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2023-12-08 23:43:33 +0300
commit8132d887a7023b212f242a51ae89281c69fde996 (patch)
treee66cfd6c6aca492757f0df17aaf02e0dfab006e9 /virt
parent1c3c87d720cbd1ff86dc1bfc6df8ee9adce5879b (diff)
downloadlinux-8132d887a7023b212f242a51ae89281c69fde996.tar.xz
KVM: remove CONFIG_HAVE_KVM_EVENTFD
virt/kvm/eventfd.c is compiled unconditionally, meaning that the ioeventfds member of struct kvm is accessed unconditionally. CONFIG_HAVE_KVM_EVENTFD therefore must be defined for KVM common code to compile successfully, remove it. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
-rw-r--r--virt/kvm/Kconfig5
1 files changed, 1 insertions, 4 deletions
diff --git a/virt/kvm/Kconfig b/virt/kvm/Kconfig
index 2c964586aa14..72e0cac864f9 100644
--- a/virt/kvm/Kconfig
+++ b/virt/kvm/Kconfig
@@ -3,6 +3,7 @@
config HAVE_KVM
bool
+ select EVENTFD
config HAVE_KVM_PFNCACHE
bool
@@ -39,10 +40,6 @@ config NEED_KVM_DIRTY_RING_WITH_BITMAP
bool
depends on HAVE_KVM_DIRTY_RING
-config HAVE_KVM_EVENTFD
- bool
- select EVENTFD
-
config KVM_MMIO
bool