From: Liam Merwick <liam.merwick@oracle.com>
To: Stefan Hajnoczi <stefanha@redhat.com>, qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>
Subject: Re: [PATCH] docs: add virtiofsd(1) man page
Date: Mon, 27 Jan 2020 16:55:12 +0000 [thread overview]
Message-ID: <539e9834-8b3f-5d7c-eb0c-ff2c19d44ff8@oracle.com> (raw)
In-Reply-To: <20200127162514.56784-1-stefanha@redhat.com>
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 <stefanha@redhat.com>
> ---
> Based-on: 20200124162606.8787-1-peter.maydell@linaro.org
> ("[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 <liam.merwick@oracle.com>
next prev parent reply other threads:[~2020-01-27 16:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-27 16:25 [PATCH] docs: add virtiofsd(1) man page Stefan Hajnoczi
2020-01-27 16:55 ` Liam Merwick [this message]
2020-01-29 10:43 ` Stefan Hajnoczi
2020-01-29 15:39 ` Christophe de Dinechin
2020-01-29 15:54 ` Marc-André Lureau
2020-01-30 14:29 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=539e9834-8b3f-5d7c-eb0c-ff2c19d44ff8@oracle.com \
--to=liam.merwick@oracle.com \
--cc=dgilbert@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).