summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Nikolaev <n.nikolaev@virtualopensystems.com>2015-01-24 12:00:02 +0000
committerMarc Zyngier <marc.zyngier@arm.com>2015-03-30 17:07:24 +0100
commitd44758c0dfc5993a4b9952935a7eae4c91ebb6b4 (patch)
treeb72189636c00436e63cf2f76e32033289a877b10
parent950324ab81bf006542f30a1d1ab3d65fcf15cbc1 (diff)
downloadtalos-obmc-linux-d44758c0dfc5993a4b9952935a7eae4c91ebb6b4.tar.gz
talos-obmc-linux-d44758c0dfc5993a4b9952935a7eae4c91ebb6b4.zip
KVM: arm/arm64: enable KVM_CAP_IOEVENTFD
As the infrastructure for eventfd has now been merged, report the ioeventfd capability as being supported. Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com> [maz: grouped the case entry with the others, fixed commit log] Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
-rw-r--r--arch/arm/kvm/arm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c
index e98370cd9969..6f536451ab78 100644
--- a/arch/arm/kvm/arm.c
+++ b/arch/arm/kvm/arm.c
@@ -172,6 +172,7 @@ int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext)
switch (ext) {
case KVM_CAP_IRQCHIP:
case KVM_CAP_IRQFD:
+ case KVM_CAP_IOEVENTFD:
case KVM_CAP_DEVICE_CTRL:
case KVM_CAP_USER_MEMORY:
case KVM_CAP_SYNC_MMU:
OpenPOWER on IntegriCloud