From fdf5190578921143ebe6c156cc35cafe507bcf5d Mon Sep 17 00:00:00 2001 From: Dmitry Kozlyuk Date: Fri, 24 Jun 2022 16:19:56 +0300 Subject: [PATCH] doc: add note about running as non-root in virtio guide The requirement of SYS_ADMIN capability in legacy virtio mode was missing. Add it to the driver-specific page. Signed-off-by: Dmitry Kozlyuk --- 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..aace780249 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 I/O ports. + Virtio with kni vhost Back End ------------------------------ -- 2.39.5