diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-10-21 17:09:46 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-10-25 17:35:15 +0200 |
commit | f8c0687fe364355ee35896e97fec89b61220340a (patch) | |
tree | 76d46fef0bfc4a6b0136ae6d61212e0a6cfdee88 | |
parent | a788260b2000f1fe826885c06f2a34df1c5b335c (diff) |
kvm: require KVM_IRQFD for kernel irqchip
KVM_IRQFD was introduced in Linux 2.6.32, and since then it has always been
available on architectures that support an in-kernel interrupt controller.
We can require it unconditionally.
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | include/sysemu/kvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h index 575dee53b3..16d58d2598 100644 --- a/include/sysemu/kvm.h +++ b/include/sysemu/kvm.h @@ -167,6 +167,7 @@ extern bool kvm_msi_use_devid; #define kvm_irqchip_is_split() (false) #define kvm_async_interrupts_enabled() (false) #define kvm_halt_in_kernel() (false) +#define kvm_irqfds_enabled() (false) #define kvm_eventfds_enabled() (false) #define kvm_resamplefds_enabled() (false) #define kvm_msi_via_irqfd_enabled() (false) |