aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu
diff options
context:
space:
mode:
authorEric Auger <eric.auger@linaro.org>2015-07-06 12:15:14 -0600
committerAlex Williamson <alex.williamson@redhat.com>2015-07-06 12:15:14 -0600
commit879904e8635b316de18393222f02d46d2d1f7f4e (patch)
treedf35c33aa1066e4cc9469d6f84cb5309e4868118 /include/sysemu
parent715ca691daca081108b33306faa6fa102f0df8d8 (diff)
downloadqemu-879904e8635b316de18393222f02d46d2d1f7f4e.zip
qemu-879904e8635b316de18393222f02d46d2d1f7f4e.tar.gz
qemu-879904e8635b316de18393222f02d46d2d1f7f4e.tar.bz2
kvm: some fixes to kvm_resamplefds_allowed
Commit f41389ae3c54b introduced kvm_resamplefds_enabled() and associated kvm_resamplefds_allowed boolean. This patch adds non-KVM version for kvm_resamplefds_enabled and also declares kvm_resamplefds_allowed in kvm-stub as it is done for fellow kvm_irqfds_allowed. Signed-off-by: Eric Auger <eric.auger@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/sysemu')
-rw-r--r--include/sysemu/kvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h
index ba612fc..983e99e 100644
--- a/include/sysemu/kvm.h
+++ b/include/sysemu/kvm.h
@@ -152,6 +152,7 @@ extern bool kvm_readonly_mem_allowed;
#define kvm_halt_in_kernel() (false)
#define kvm_eventfds_enabled() (false)
#define kvm_irqfds_enabled() (false)
+#define kvm_resamplefds_enabled() (false)
#define kvm_msi_via_irqfd_enabled() (false)
#define kvm_gsi_routing_allowed() (false)
#define kvm_gsi_direct_mapping() (false)