qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 092/104] virtiofsd: add man page


From: Liam Merwick
Subject: Re: [PATCH 092/104] virtiofsd: add man page
Date: Fri, 13 Dec 2019 14:33:25 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0

On 12/12/2019 16:38, Dr. David Alan Gilbert (git) wrote:
From: Stefan Hajnoczi <address@hidden>

Signed-off-by: Stefan Hajnoczi <address@hidden>
---
  Makefile                       |  7 +++
  tools/virtiofsd/virtiofsd.texi | 85 ++++++++++++++++++++++++++++++++++
  2 files changed, 92 insertions(+)
  create mode 100644 tools/virtiofsd/virtiofsd.texi


... deleted ...

+@c man begin EXAMPLES
+Export @code{/var/lib/fs/vm001/} on vhost-user UNIX domain socket 
@code{/var/run/vm001-vhost-fs.sock}:
+
+@example
+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 \
+    -o 
default_permissions,allow_other,user_id=0,group_id=0,rootmode=040000,dax \
+    myfs /mnt



Should this 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]