The GSG has a note warning that use of UIO is inherently unsafe due to
lack of IOMMU protection. However, this was only flagged as a "NOTE",
meaning it could easily be missed. Changing the rst tag from "note" to
"warning" and moving it to the top of the UIO subsection makes this a
lot more visible to users.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
UIO
---
+.. warning::
+
+ Using UIO drivers is inherently unsafe due to this method lacking IOMMU protection,
+ and can only be done by root user.
+
In situations where using VFIO is not an option, there are alternative drivers one can use.
In many cases, the standard ``uio_pci_generic`` module included in the Linux kernel
can be used as a substitute for VFIO. This module can be loaded using the command:
in GRUB command line on x86_64 systems,
or add ``iommu.passthrough=1`` on aarch64 systems.
-.. note::
-
- Using UIO drivers is inherently unsafe due to this method lacking IOMMU protection,
- and can only be done by root user.
-
.. _bifurcated_driver:
Bifurcated Driver