[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] docs: add virtiofsd(1) man page
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH] docs: add virtiofsd(1) man page |
Date: |
Wed, 29 Jan 2020 10:43:27 +0000 |
On Mon, Jan 27, 2020 at 04:55:12PM +0000, Liam Merwick wrote:
> 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>
Will fix, thanks!
Stefan
signature.asc
Description: PGP signature