All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools/virtiofsd: include --socket-group in help
@ 2021-03-18 10:09 Alex Bennée
  2021-03-18 15:15 ` Connor Kuehl
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Bennée @ 2021-03-18 10:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Bennée, Dr. David Alan Gilbert, Stefan Hajnoczi

I confused myself wandering if this had been merged by looking at the
help output. It seems fuse_opt doesn't automagically add to help
output so lets do it now.

Updates: f6698f2b03 ("tools/virtiofsd: add support for --socket-group")
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 tools/virtiofsd/fuse_lowlevel.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/virtiofsd/fuse_lowlevel.c b/tools/virtiofsd/fuse_lowlevel.c
index 1aa26c6333..58e32fc963 100644
--- a/tools/virtiofsd/fuse_lowlevel.c
+++ b/tools/virtiofsd/fuse_lowlevel.c
@@ -2450,6 +2450,7 @@ void fuse_lowlevel_help(void)
     printf(
         "    -o allow_root              allow access by root\n"
         "    --socket-path=PATH         path for the vhost-user socket\n"
+        "    --socket-group=GRNAME      name of group for the vhost-user socket\n"
         "    --fd=FDNUM                 fd number of vhost-user socket\n"
         "    --thread-pool-size=NUM     thread pool size limit (default %d)\n",
         THREAD_POOL_SIZE);
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tools/virtiofsd: include --socket-group in help
  2021-03-18 10:09 [PATCH] tools/virtiofsd: include --socket-group in help Alex Bennée
@ 2021-03-18 15:15 ` Connor Kuehl
  0 siblings, 0 replies; 2+ messages in thread
From: Connor Kuehl @ 2021-03-18 15:15 UTC (permalink / raw)
  To: Alex Bennée, qemu-devel; +Cc: Dr. David Alan Gilbert, Stefan Hajnoczi

On 3/18/21 5:09 AM, Alex Bennée wrote:
> I confused myself wandering if this had been merged by looking at the
> help output. It seems fuse_opt doesn't automagically add to help
> output so lets do it now.
> 
> Updates: f6698f2b03 ("tools/virtiofsd: add support for --socket-group")
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>   tools/virtiofsd/fuse_lowlevel.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/tools/virtiofsd/fuse_lowlevel.c b/tools/virtiofsd/fuse_lowlevel.c
> index 1aa26c6333..58e32fc963 100644
> --- a/tools/virtiofsd/fuse_lowlevel.c
> +++ b/tools/virtiofsd/fuse_lowlevel.c
> @@ -2450,6 +2450,7 @@ void fuse_lowlevel_help(void)
>       printf(
>           "    -o allow_root              allow access by root\n"
>           "    --socket-path=PATH         path for the vhost-user socket\n"
> +        "    --socket-group=GRNAME      name of group for the vhost-user socket\n"
>           "    --fd=FDNUM                 fd number of vhost-user socket\n"
>           "    --thread-pool-size=NUM     thread pool size limit (default %d)\n",
>           THREAD_POOL_SIZE);
> 

And it looks like this is already in the man page too, so I think this 
patches the last place it was missing from, nice!

Reviewed-by: Connor Kuehl <ckuehl@redhat.com>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-18 15:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18 10:09 [PATCH] tools/virtiofsd: include --socket-group in help Alex Bennée
2021-03-18 15:15 ` Connor Kuehl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.