diff options
Diffstat (limited to 'include/uapi/linux/vfio.h')
-rw-r--r-- | include/uapi/linux/vfio.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h index 9fd7b5d8df2f..751b69f858c8 100644 --- a/include/uapi/linux/vfio.h +++ b/include/uapi/linux/vfio.h | |||
@@ -39,6 +39,13 @@ | |||
39 | #define VFIO_SPAPR_TCE_v2_IOMMU 7 | 39 | #define VFIO_SPAPR_TCE_v2_IOMMU 7 |
40 | 40 | ||
41 | /* | 41 | /* |
42 | * The No-IOMMU IOMMU offers no translation or isolation for devices and | ||
43 | * supports no ioctls outside of VFIO_CHECK_EXTENSION. Use of VFIO's No-IOMMU | ||
44 | * code will taint the host kernel and should be used with extreme caution. | ||
45 | */ | ||
46 | #define VFIO_NOIOMMU_IOMMU 8 | ||
47 | |||
48 | /* | ||
42 | * The IOCTL interface is designed for extensibility by embedding the | 49 | * The IOCTL interface is designed for extensibility by embedding the |
43 | * structure length (argsz) and flags into structures passed between | 50 | * structure length (argsz) and flags into structures passed between |
44 | * kernel and userspace. We therefore use the _IO() macro for these | 51 | * kernel and userspace. We therefore use the _IO() macro for these |