You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: drivers/vfio/container.c
-7Lines changed: 0 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -29,13 +29,6 @@ static struct vfio {
29
29
structmutexiommu_drivers_lock;
30
30
} vfio;
31
31
32
-
#ifdefCONFIG_VFIO_NOIOMMU
33
-
boolvfio_noiommu__read_mostly;
34
-
module_param_named(enable_unsafe_noiommu_mode,
35
-
vfio_noiommu, bool, S_IRUGO | S_IWUSR);
36
-
MODULE_PARM_DESC(enable_unsafe_noiommu_mode, "Enable UNSAFE, no-IOMMU mode. This mode provides no device isolation, no DMA translation, no host kernel protection, cannot be used for device assignment to virtual machines, requires RAWIO permissions, and will taint the kernel. If you do not know what this is for, step away. (default: false)");
Copy file name to clipboardExpand all lines: drivers/vfio/vfio_main.c
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,13 @@ static struct vfio {
45
45
structidadevice_ida;
46
46
} vfio;
47
47
48
+
#ifdefCONFIG_VFIO_NOIOMMU
49
+
boolvfio_noiommu__read_mostly;
50
+
module_param_named(enable_unsafe_noiommu_mode,
51
+
vfio_noiommu, bool, S_IRUGO | S_IWUSR);
52
+
MODULE_PARM_DESC(enable_unsafe_noiommu_mode, "Enable UNSAFE, no-IOMMU mode. This mode provides no device isolation, no DMA translation, no host kernel protection, cannot be used for device assignment to virtual machines, requires RAWIO permissions, and will taint the kernel. If you do not know what this is for, step away. (default: false)");
0 commit comments