KVM: arm/arm64: enable KVM_CAP_IOEVENTFD
authorNikolay Nikolaev <n.nikolaev@virtualopensystems.com>
Sat, 24 Jan 2015 12:00:02 +0000 (12:00 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 30 Mar 2015 16:07:24 +0000 (17:07 +0100)
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>
arch/arm/kvm/arm.c

index e98370cd9969c2dbd56022e2375435098b8ec3a1..6f536451ab784e99966a308c0892e8614214591f 100644 (file)
@@ -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: