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

Ján Tomko posted 3 patches 4 years, 9 months ago
There is a newer version of this series
[libvirt PATCH 2/3] docs: virtiofs: add section about externally-launched virtiofsd
Posted by Ján Tomko 4 years, 9 months ago
Provide an exmple in a place more visible than formatdomain.html.

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

diff --git a/docs/kbase/virtiofs.rst b/docs/kbase/virtiofs.rst
index c0bc07a68d..09674a4a76 100644
--- a/docs/kbase/virtiofs.rst
+++ b/docs/kbase/virtiofs.rst
@@ -149,3 +149,17 @@ 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,
+
+
+::
+
+  <filesystem type='mount'/>
+    <driver type='virtiofs' queue='1024'/>
+    <source socket='/var/virtiofsd.sock'/>
+  </filesystem>
-- 
2.29.2

Re: [libvirt PATCH 2/3] docs: virtiofs: add section about externally-launched virtiofsd
Posted by Jonathon Jongsma 4 years, 9 months ago
On Thu, 22 Apr 2021 13:40:53 +0200
Ján Tomko <jtomko@redhat.com> wrote:

> Provide an exmple in a place more visible than formatdomain.html.
> 
> Signed-off-by: Ján Tomko <jtomko@redhat.com>
> ---
>  docs/kbase/virtiofs.rst | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/docs/kbase/virtiofs.rst b/docs/kbase/virtiofs.rst
> index c0bc07a68d..09674a4a76 100644
> --- a/docs/kbase/virtiofs.rst
> +++ b/docs/kbase/virtiofs.rst
> @@ -149,3 +149,17 @@ 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, 


Is there some text missing here? It seems to end abruptly.


> +
> +::
> +
> +  <filesystem type='mount'/>
> +    <driver type='virtiofs' queue='1024'/>
> +    <source socket='/var/virtiofsd.sock'/>
> +  </filesystem>