qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] docs: add virtiofsd(1) man page


From: Liam Merwick
Subject: Re: [PATCH] docs: add virtiofsd(1) man page
Date: Mon, 27 Jan 2020 16:55:12 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0

On 27/01/2020 16:25, Stefan Hajnoczi wrote:
Document the virtiofsd(1) program and its command-line options.  This
man page is a rST conversion of the original texi documentation that I
wrote.

Signed-off-by: Stefan Hajnoczi <address@hidden>
---
Based-on: address@hidden
           ("[PATCH v2 0/8] qemu-img, qemu-trace-stap, virtfs-proxy-helper: convert 
to rST")
---
  MAINTAINERS                |   1 +
  Makefile                   |   8 ++-
  docs/interop/conf.py       |   5 +-
  docs/interop/index.rst     |   1 +
  docs/interop/virtiofsd.rst | 123 +++++++++++++++++++++++++++++++++++++
  5 files changed, 136 insertions(+), 2 deletions(-)
  create mode 100644 docs/interop/virtiofsd.rst


[ ... deleted ...]

+
+Examples
+--------
+
+Export ``/var/lib/fs/vm001/`` on vhost-user UNIX domain socket
+``/var/run/vm001-vhost-fs.sock``:
+
+::
+
+  host# virtiofsd --socket-path=/var/run/vm001-vhost-fs.sock -o 
source=/var/lib/fs/vm001
+  host# qemu-system-x86_64 \
+      -chardev socket,id=char0,path=/var/run/vm001-vhost-fs.sock \
+      -device vhost-user-fs-pci,chardev=char0,tag=myfs \
+      -object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on \
+      -numa node,memdev=mem \
+      ...
+  guest# mount -t virtio_fs myfs /mnt


This should be 'mount -t virtiofs myfs /mnt' like on https://virtio-fs.gitlab.io/howto-qemu.html

otherwise

Reviewed-by: Liam Merwick <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]