]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: virtiofs: add section about externally-launched virtiofsd
authorJán Tomko <jtomko@redhat.com>
Thu, 22 Apr 2021 11:37:04 +0000 (13:37 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 27 Apr 2021 17:08:09 +0000 (19:08 +0200)
Provide an exmple in a place more visible than formatdomain.html.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
docs/kbase/virtiofs.rst

index c0bc07a68d2106fe902f1156a36d9a23c50105a5..740b08d50d58bb9d85b4c99d340c53753e8aca78 100644 (file)
@@ -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>