summaryrefslogtreecommitdiffstats
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2015-09-15 14:41:59 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2015-10-01 15:06:31 +0200
commite9ea5069d9e569c32ab913c39467df32e056b3a7 (patch)
tree1e3e34946e2875564aa7a85a454f851d1575dac8 /virt/kvm/kvm_main.c
parent931c33b178b091cced2a6b3f57f04655f8ff5207 (diff)
downloadop-kernel-dev-e9ea5069d9e569c32ab913c39467df32e056b3a7.zip
op-kernel-dev-e9ea5069d9e569c32ab913c39467df32e056b3a7.tar.gz
kvm: add capability for any-length ioeventfds
Cc: Gleb Natapov <gleb@kernel.org> Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r--virt/kvm/kvm_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 23116dc..afd7ae6 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -2718,6 +2718,7 @@ static long kvm_vm_ioctl_check_extension_generic(struct kvm *kvm, long arg)
case KVM_CAP_IRQFD:
case KVM_CAP_IRQFD_RESAMPLE:
#endif
+ case KVM_CAP_IOEVENTFD_ANY_LENGTH:
case KVM_CAP_CHECK_EXTENSION_VM:
return 1;
#ifdef CONFIG_HAVE_KVM_IRQ_ROUTING
OpenPOWER on IntegriCloud