[PATCH v4 5/5] doc: add note about running virtio-legacy as non-root
Dmitry Kozlyuk
dkozlyuk at nvidia.com
Fri Jun 24 15:19:56 CEST 2022
The requirement of SYS_ADMIN capability in legacy virtio mode
was missing. Add it to the driver-specific page.
Signed-off-by: Dmitry Kozlyuk <dkozlyuk at nvidia.com>
---
doc/guides/nics/virtio.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/guides/nics/virtio.rst b/doc/guides/nics/virtio.rst
index 7c0ae2b3af..0e552b2701 100644
--- a/doc/guides/nics/virtio.rst
+++ b/doc/guides/nics/virtio.rst
@@ -86,6 +86,9 @@ The following prerequisites apply:
* Linux kernel with KVM module; vhost module loaded and ioeventfd supported.
Qemu standard backend without vhost support isn't tested, and probably isn't supported.
+* When using legacy interface, ``SYS_RAWIO`` capability is required
+ for ``iopl()`` call to enable access to PCI IO ports.
+
Virtio with kni vhost Back End
------------------------------
--
2.25.1
More information about the dev
mailing list