* [Qemu-devel] [PATCH] virtfs: Add missing "id" parameter in documentation
@ 2019-05-05 14:45 Thomas Huth
2019-05-05 14:45 ` Thomas Huth
2019-05-05 18:32 ` Greg Kurz
0 siblings, 2 replies; 6+ messages in thread
From: Thomas Huth @ 2019-05-05 14:45 UTC (permalink / raw)
To: Greg Kurz, qemu-devel; +Cc: qemu-trivial
... and remove the square brackets from "path" and "security_model",
since these parameters are not optional.
Buglink: https://bugs.launchpad.net/qemu/+bug/1581976
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
qemu-options.hx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index 51802cbb26..9571ddd141 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1311,7 +1311,7 @@ DEF("virtfs", HAS_ARG, QEMU_OPTION_virtfs,
STEXI
-@item -virtfs @var{fsdriver}[,path=@var{path}],mount_tag=@var{mount_tag}[,security_model=@var{security_model}][,writeout=@var{writeout}][,readonly][,socket=@var{socket}|sock_fd=@var{sock_fd}][,fmode=@var{fmode}][,dmode=@var{dmode}]
+@item -virtfs @var{fsdriver},path=@var{path},mount_tag=@var{mount_tag},security_model=@var{security_model}[,id=@var{id}][,writeout=@var{writeout}][,readonly][,socket=@var{socket}|sock_fd=@var{sock_fd}][,fmode=@var{fmode}][,dmode=@var{dmode}]
@findex -virtfs
The general form of a Virtual File system pass-through options are:
--
2.21.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Qemu-devel] [PATCH] virtfs: Add missing "id" parameter in documentation
2019-05-05 14:45 [Qemu-devel] [PATCH] virtfs: Add missing "id" parameter in documentation Thomas Huth
@ 2019-05-05 14:45 ` Thomas Huth
2019-05-05 18:32 ` Greg Kurz
1 sibling, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2019-05-05 14:45 UTC (permalink / raw)
To: Greg Kurz, qemu-devel; +Cc: qemu-trivial
... and remove the square brackets from "path" and "security_model",
since these parameters are not optional.
Buglink: https://bugs.launchpad.net/qemu/+bug/1581976
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
qemu-options.hx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index 51802cbb26..9571ddd141 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1311,7 +1311,7 @@ DEF("virtfs", HAS_ARG, QEMU_OPTION_virtfs,
STEXI
-@item -virtfs @var{fsdriver}[,path=@var{path}],mount_tag=@var{mount_tag}[,security_model=@var{security_model}][,writeout=@var{writeout}][,readonly][,socket=@var{socket}|sock_fd=@var{sock_fd}][,fmode=@var{fmode}][,dmode=@var{dmode}]
+@item -virtfs @var{fsdriver},path=@var{path},mount_tag=@var{mount_tag},security_model=@var{security_model}[,id=@var{id}][,writeout=@var{writeout}][,readonly][,socket=@var{socket}|sock_fd=@var{sock_fd}][,fmode=@var{fmode}][,dmode=@var{dmode}]
@findex -virtfs
The general form of a Virtual File system pass-through options are:
--
2.21.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [PATCH] virtfs: Add missing "id" parameter in documentation
2019-05-05 14:45 [Qemu-devel] [PATCH] virtfs: Add missing "id" parameter in documentation Thomas Huth
2019-05-05 14:45 ` Thomas Huth
@ 2019-05-05 18:32 ` Greg Kurz
2019-05-05 18:32 ` Greg Kurz
2019-05-06 3:49 ` Thomas Huth
1 sibling, 2 replies; 6+ messages in thread
From: Greg Kurz @ 2019-05-05 18:32 UTC (permalink / raw)
To: Thomas Huth; +Cc: qemu-devel, qemu-trivial
Hi Thomas,
Thanks for the janitoring :)
On Sun, 5 May 2019 16:45:27 +0200
Thomas Huth <thuth@redhat.com> wrote:
> ... and remove the square brackets from "path" and "security_model",
> since these parameters are not optional.
>
Well this is only true when fsdriver == local, but the other fs drivers,
ie. proxy and synth, don't need it at all. Each driver has its own set of
options actually. This should better be described with separate lines IMHO.
Also, it should be stated that "id" relates to the fs backend, ie. it
belongs to the -fsdev "id" space, not to the device that gets exposed
to the guest.
Cheers,
--
Greg
> Buglink: https://bugs.launchpad.net/qemu/+bug/1581976
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> qemu-options.hx | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 51802cbb26..9571ddd141 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -1311,7 +1311,7 @@ DEF("virtfs", HAS_ARG, QEMU_OPTION_virtfs,
>
> STEXI
>
> -@item -virtfs @var{fsdriver}[,path=@var{path}],mount_tag=@var{mount_tag}[,security_model=@var{security_model}][,writeout=@var{writeout}][,readonly][,socket=@var{socket}|sock_fd=@var{sock_fd}][,fmode=@var{fmode}][,dmode=@var{dmode}]
> +@item -virtfs @var{fsdriver},path=@var{path},mount_tag=@var{mount_tag},security_model=@var{security_model}[,id=@var{id}][,writeout=@var{writeout}][,readonly][,socket=@var{socket}|sock_fd=@var{sock_fd}][,fmode=@var{fmode}][,dmode=@var{dmode}]
> @findex -virtfs
>
> The general form of a Virtual File system pass-through options are:
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [PATCH] virtfs: Add missing "id" parameter in documentation
2019-05-05 18:32 ` Greg Kurz
@ 2019-05-05 18:32 ` Greg Kurz
2019-05-06 3:49 ` Thomas Huth
1 sibling, 0 replies; 6+ messages in thread
From: Greg Kurz @ 2019-05-05 18:32 UTC (permalink / raw)
To: Thomas Huth; +Cc: qemu-trivial, qemu-devel
Hi Thomas,
Thanks for the janitoring :)
On Sun, 5 May 2019 16:45:27 +0200
Thomas Huth <thuth@redhat.com> wrote:
> ... and remove the square brackets from "path" and "security_model",
> since these parameters are not optional.
>
Well this is only true when fsdriver == local, but the other fs drivers,
ie. proxy and synth, don't need it at all. Each driver has its own set of
options actually. This should better be described with separate lines IMHO.
Also, it should be stated that "id" relates to the fs backend, ie. it
belongs to the -fsdev "id" space, not to the device that gets exposed
to the guest.
Cheers,
--
Greg
> Buglink: https://bugs.launchpad.net/qemu/+bug/1581976
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> qemu-options.hx | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 51802cbb26..9571ddd141 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -1311,7 +1311,7 @@ DEF("virtfs", HAS_ARG, QEMU_OPTION_virtfs,
>
> STEXI
>
> -@item -virtfs @var{fsdriver}[,path=@var{path}],mount_tag=@var{mount_tag}[,security_model=@var{security_model}][,writeout=@var{writeout}][,readonly][,socket=@var{socket}|sock_fd=@var{sock_fd}][,fmode=@var{fmode}][,dmode=@var{dmode}]
> +@item -virtfs @var{fsdriver},path=@var{path},mount_tag=@var{mount_tag},security_model=@var{security_model}[,id=@var{id}][,writeout=@var{writeout}][,readonly][,socket=@var{socket}|sock_fd=@var{sock_fd}][,fmode=@var{fmode}][,dmode=@var{dmode}]
> @findex -virtfs
>
> The general form of a Virtual File system pass-through options are:
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [PATCH] virtfs: Add missing "id" parameter in documentation
2019-05-05 18:32 ` Greg Kurz
2019-05-05 18:32 ` Greg Kurz
@ 2019-05-06 3:49 ` Thomas Huth
2019-05-06 6:07 ` Greg Kurz
1 sibling, 1 reply; 6+ messages in thread
From: Thomas Huth @ 2019-05-06 3:49 UTC (permalink / raw)
To: Greg Kurz; +Cc: qemu-trivial, qemu-devel
On 05/05/2019 20.32, Greg Kurz wrote:
> Hi Thomas,
>
> Thanks for the janitoring :)
>
> On Sun, 5 May 2019 16:45:27 +0200
> Thomas Huth <thuth@redhat.com> wrote:
>
>> ... and remove the square brackets from "path" and "security_model",
>> since these parameters are not optional.
>>
>
> Well this is only true when fsdriver == local, but the other fs drivers,
> ie. proxy and synth, don't need it at all.
Ok, then this is wrong in the output of "--help" instead.
> Each driver has its own set of
> options actually. This should better be described with separate lines IMHO.
>
> Also, it should be stated that "id" relates to the fs backend, ie. it
> belongs to the -fsdev "id" space, not to the device that gets exposed
> to the guest.
Hmm, maybe it would be better if you do this patch, since you've
definitely got way more knowledge here than I do... Otherwise, I can
have a try, but it might take a while till I get back to this...
Thomas
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [PATCH] virtfs: Add missing "id" parameter in documentation
2019-05-06 3:49 ` Thomas Huth
@ 2019-05-06 6:07 ` Greg Kurz
0 siblings, 0 replies; 6+ messages in thread
From: Greg Kurz @ 2019-05-06 6:07 UTC (permalink / raw)
To: Thomas Huth; +Cc: qemu-trivial, qemu-devel
On Mon, 6 May 2019 05:49:40 +0200
Thomas Huth <thuth@redhat.com> wrote:
> On 05/05/2019 20.32, Greg Kurz wrote:
> > Hi Thomas,
> >
> > Thanks for the janitoring :)
> >
> > On Sun, 5 May 2019 16:45:27 +0200
> > Thomas Huth <thuth@redhat.com> wrote:
> >
> >> ... and remove the square brackets from "path" and "security_model",
> >> since these parameters are not optional.
> >>
> >
> > Well this is only true when fsdriver == local, but the other fs drivers,
> > ie. proxy and synth, don't need it at all.
>
> Ok, then this is wrong in the output of "--help" instead.
>
Yeah, I've taken a look and both the usage and the man page need
fixing...
> > Each driver has its own set of
> > options actually. This should better be described with separate lines IMHO.
> >
> > Also, it should be stated that "id" relates to the fs backend, ie. it
> > belongs to the -fsdev "id" space, not to the device that gets exposed
> > to the guest.
>
> Hmm, maybe it would be better if you do this patch, since you've
> definitely got way more knowledge here than I do... Otherwise, I can
> have a try, but it might take a while till I get back to this...
>
Sure, I'll do that.
> Thomas
Cheers,
--
Greg
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-05-06 6:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-05 14:45 [Qemu-devel] [PATCH] virtfs: Add missing "id" parameter in documentation Thomas Huth
2019-05-05 14:45 ` Thomas Huth
2019-05-05 18:32 ` Greg Kurz
2019-05-05 18:32 ` Greg Kurz
2019-05-06 3:49 ` Thomas Huth
2019-05-06 6:07 ` Greg Kurz
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).