summaryrefslogtreecommitdiffstats
path: root/include/hw/vfio
diff options
context:
space:
mode:
authorAlex Williamson2015-09-23 21:04:44 +0200
committerAlex Williamson2015-09-23 21:04:44 +0200
commit5e15d79b8681c7f4e2079833288785708e7520d3 (patch)
tree0f9e0c017a180b7828cf9cdf824ad15974f36195 /include/hw/vfio
parentvfio/pci: Make interrupt bypass runtime configurable (diff)
downloadqemu-5e15d79b8681c7f4e2079833288785708e7520d3.tar.gz
qemu-5e15d79b8681c7f4e2079833288785708e7520d3.tar.xz
qemu-5e15d79b8681c7f4e2079833288785708e7520d3.zip
vfio: Change polarity of our no-mmap option
The default should be to allow mmap and new drivers shouldn't need to expose an option or set it to other than the allocation default in their initfn. Take advantage of the experimental flag to change this option to the correct polarity. Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/hw/vfio')
-rw-r--r--include/hw/vfio/vfio-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/vfio/vfio-common.h b/include/hw/vfio/vfio-common.h
index 100873e330..9b9901fbe2 100644
--- a/include/hw/vfio/vfio-common.h
+++ b/include/hw/vfio/vfio-common.h
@@ -97,7 +97,7 @@ typedef struct VFIODevice {
int type;
bool reset_works;
bool needs_reset;
- bool allow_mmap;
+ bool no_mmap;
VFIODeviceOps *ops;
unsigned int num_irqs;
unsigned int num_regions;