summaryrefslogtreecommitdiffstats
path: root/src/vlib/linux/vfio.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-03-26 15:35:33 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2018-03-26 20:00:05 +0000
commit20ba16461ce232f5bb785b6b6189cf834ccfee1e (patch)
tree091fac7d4f928710387dad634fab526087f46f1a /src/vlib/linux/vfio.h
parent43fc6884b5cb0e6042450b23bd457592ce2cad4d (diff)
vlib: add support for vfio no-iommu mode
Change-Id: Ic83971d8d9d8d0bb90a35932e60761cd728457f3 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/linux/vfio.h')
-rw-r--r--src/vlib/linux/vfio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlib/linux/vfio.h b/src/vlib/linux/vfio.h
index e23cee19931..82490d805a8 100644
--- a/src/vlib/linux/vfio.h
+++ b/src/vlib/linux/vfio.h
@@ -27,6 +27,7 @@ typedef struct
{
u32 flags;
#define LINUX_VFIO_F_HAVE_IOMMU (1 << 0)
+#define LINUX_VFIO_F_HAVE_NOIOMMU (1 << 1)
int container_fd;
/* VFIO */