diff options
author | Nikolay Nikolaev | 2014-05-27 14:03:35 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2014-06-19 15:41:54 +0200 |
commit | 69e03ae64ba01c4846425fb13e494bce3eedfa6b (patch) | |
tree | 46132c9d7295857aee9ca9b49b99ee0d4042599c /kvm-stub.c | |
parent | virtio-net: announce self by guest (diff) | |
download | qemu-69e03ae64ba01c4846425fb13e494bce3eedfa6b.tar.gz qemu-69e03ae64ba01c4846425fb13e494bce3eedfa6b.tar.xz qemu-69e03ae64ba01c4846425fb13e494bce3eedfa6b.zip |
Add kvm_eventfds_enabled function
Add a function to check if the eventfd capability is present in KVM in
the host kernel.
Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com>
Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kvm-stub.c')
-rw-r--r-- | kvm-stub.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kvm-stub.c b/kvm-stub.c index ac33d8666d..8e7737caa9 100644 --- a/kvm-stub.c +++ b/kvm-stub.c @@ -22,6 +22,7 @@ KVMState *kvm_state; bool kvm_kernel_irqchip; bool kvm_async_interrupts_allowed; +bool kvm_eventfds_allowed; bool kvm_irqfds_allowed; bool kvm_msi_via_irqfd_allowed; bool kvm_gsi_routing_allowed; |