From: Greg Kurz <groug@kaod.org>
To: Thomas Huth <thuth@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 5/6] vl: Deprecate -virtfs_synth
Date: Wed, 8 May 2019 10:55:34 +0200 [thread overview]
Message-ID: <20190508105534.6d4a252d@bahia.lan> (raw)
In-Reply-To: <2fb1b764-0609-c140-8781-e4a2c9005847@redhat.com>
On Wed, 8 May 2019 10:26:53 +0200
Thomas Huth <thuth@redhat.com> wrote:
> On 07/05/2019 10.45, Greg Kurz wrote:
> > The synth fsdriver never got used for anything else but the
> > QTest testcase for VirtIO 9P. And even there, QTest directly
> > uses -fsdev synth and -device virtio-9p-{pci|device}.
> >
> > Signed-off-by: Greg Kurz <groug@kaod.org>
> > ---
> >
> > This should be Cc'd to libvir-list@redhat.com according to MAINTAINERS,
> > but libvirt doesn't know about -virtfs_synth, so I choose to not spam :)
> > ---
> > qemu-deprecated.texi | 4 ++++
> > qemu-options.hx | 3 ++-
> > vl.c | 5 +++++
> > 3 files changed, 11 insertions(+), 1 deletion(-)
> >
> > diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi
> > index 842e71b11dcc..f0ff065e7dc1 100644
> > --- a/qemu-deprecated.texi
> > +++ b/qemu-deprecated.texi
> > @@ -72,6 +72,10 @@ backend settings instead of environment variables. To ease migration to
> > the new format, the ``-audiodev-help'' option can be used to convert
> > the current values of the environment variables to ``-audiodev'' options.
> >
> > +@subsection -virtfs_synth (since 4.1)
> > +
> > +The ``-virtfs_synth'' argument is now deprecated with no replacement.
> > +
> > @section QEMU Machine Protocol (QMP) commands
> >
> > @subsection block-dirty-bitmap-add "autoload" parameter (since 2.12.0)
> > diff --git a/qemu-options.hx b/qemu-options.hx
> > index 51802cbb266a..9c5cc2e6bf70 100644
> > --- a/qemu-options.hx
> > +++ b/qemu-options.hx
> > @@ -1368,7 +1368,8 @@ DEF("virtfs_synth", 0, QEMU_OPTION_virtfs_synth,
> > STEXI
> > @item -virtfs_synth
> > @findex -virtfs_synth
> > -Create synthetic file system image
> > +Create synthetic file system image. Note that this option is deprecated with
> > +no replacement.
> > ETEXI
> >
> > DEF("iscsi", HAS_ARG, QEMU_OPTION_iscsi,
> > diff --git a/vl.c b/vl.c
> > index d9fea0a11966..c010cb3e98df 100644
> > --- a/vl.c
> > +++ b/vl.c
> > @@ -3507,6 +3507,11 @@ int main(int argc, char **argv, char **envp)
> > QemuOpts *fsdev;
> > QemuOpts *device;
> >
> > + warn_report("The -virtfs_synth option is deprecated and will "
> > + "be removed soon. If the -virtfs_synth option is "
> > + "still useful for you, please send a mail to "
> > + "qemu-devel@nongnu.org with your usecase.");
> > +
> > fsdev = qemu_opts_create(qemu_find_opts("fsdev"), "v_synth",
> > 1, NULL);
> > if (!fsdev) {
>
> Do you plan to only deprecate the -virtfs_synth option, or also "-fsdev
> synth", i.e. the whole "synth" driver? In the first case, I think you
> should point the users to use "-fsdev synth" instead of saying "with no
> replacement".
The plan is to remove -virtfs_synth only. You're right, I'll point users
to use "-fsdev synth" and "-device virtio-9p" instead.
> In the second case, I think you should declare "-fsdev
> synth" in the documentation, too.
>
> Thomas
next prev parent reply other threads:[~2019-05-08 8:56 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-07 8:44 [Qemu-devel] [PATCH 0/6] fsdev/virtfs: Assorted cleanups and fixes Greg Kurz
2019-05-07 8:44 ` [Qemu-devel] [PATCH 1/6] fsdev: Drop unused extern declaration Greg Kurz
2019-05-07 10:15 ` Thomas Huth
2019-05-09 13:20 ` Greg Kurz
2019-05-07 8:44 ` [Qemu-devel] [PATCH 2/6] fsdev: Drop unused opaque field Greg Kurz
2019-05-07 10:24 ` Thomas Huth
2019-05-09 13:21 ` Greg Kurz
2019-05-07 8:45 ` [Qemu-devel] [PATCH 3/6] fsdev: Move some types definition to qemu-fsdev.c Greg Kurz
2019-05-08 8:28 ` Thomas Huth
2019-05-09 13:21 ` Greg Kurz
2019-05-07 8:45 ` [Qemu-devel] [PATCH 4/6] fsdev: Error out when unsupported option is passed Greg Kurz
2019-05-08 16:23 ` Eric Blake
2019-05-09 13:22 ` Greg Kurz
2019-05-07 8:45 ` [Qemu-devel] [PATCH 5/6] vl: Deprecate -virtfs_synth Greg Kurz
2019-05-08 8:26 ` Thomas Huth
2019-05-08 8:55 ` Greg Kurz [this message]
2019-05-07 8:45 ` [Qemu-devel] [PATCH 6/6] virtfs: Fix documentation of -fsdev and -virtfs Greg Kurz
2019-05-08 15:54 ` Thomas Huth
2019-05-09 13:18 ` Greg Kurz
2019-05-13 8:39 ` Thomas Huth
2019-05-13 9:34 ` Greg Kurz
2019-05-13 9:47 ` Thomas Huth
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=20190508105534.6d4a252d@bahia.lan \
--to=groug@kaod.org \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@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 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.