doc: add note about running as non-root in virtio guide
authorDmitry Kozlyuk <dkozlyuk@nvidia.com>
Fri, 24 Jun 2022 13:19:56 +0000 (16:19 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 27 Jun 2022 00:42:09 +0000 (02:42 +0200)
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@nvidia.com>
doc/guides/nics/virtio.rst

index 7c0ae2b..aace780 100644 (file)
@@ -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 I/O ports.
+
 Virtio with kni vhost Back End
 ------------------------------