Subject: [PATCH v3 5/5] ARM: enable KVM_CAP_IOEVENTFD

From: [email-masked] (Nikolay Nikolaev)
Date: Sat, 24 Jan 2015 14:00:02 +0200

KVM on arm will support the eventfd extension.

Signed-off-by: Nikolay Nikolaev <[email-masked]>
---
 arch/arm/kvm/arm.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c
index 6fbfa5f..ec5ebef 100644
--- a/arch/arm/kvm/arm.c
+++ b/arch/arm/kvm/arm.c
@@ -197,6 +197,9 @@ int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext)
 	case KVM_CAP_MAX_VCPUS:
 		r = KVM_MAX_VCPUS;
 		break;
+	case KVM_CAP_IOEVENTFD:
+		r = 1;
+		break;
 	default:
 		r = kvm_arch_dev_ioctl_check_extension(ext);
 		break;