[libvirt PATCHv2 2/3] docs: virtiofs: add section about externally-launched virtiofsd

Ján Tomko jtomko at redhat.com
Fri Apr 23 10:03:12 UTC 2021


Provide an exmple in a place more visible than formatdomain.html.

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
 docs/kbase/virtiofs.rst | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/docs/kbase/virtiofs.rst b/docs/kbase/virtiofs.rst
index c0bc07a68d..740b08d50d 100644
--- a/docs/kbase/virtiofs.rst
+++ b/docs/kbase/virtiofs.rst
@@ -149,3 +149,18 @@ More optional elements can be specified
     <cache mode='always'/>
     <lock posix='on' flock='on'/>
   </binary>
+
+Externally-launched virtiofsd
+=============================
+
+Libvirtd can also connect the ``vhost-user-fs`` device to a ``virtiofsd``
+daemon launched outside of libvirtd. In that case socket permissions,
+the mount tag and all the virtiofsd options are out of libvirtd's
+control and need to be set by the application running virtiofsd.
+
+::
+
+  <filesystem type='mount'/>
+    <driver type='virtiofs' queue='1024'/>
+    <source socket='/var/virtiofsd.sock'/>
+  </filesystem>
-- 
2.29.2




More information about the libvir-list mailing list