All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: John Snow <jsnow@redhat.com>,
	qemu-devel@nongnu.org, armbru@redhat.com, qemu-block@nongnu.org
Subject: [Qemu-devel] Deprecating the -drive option is a good point in time to get rid of old interfaces)
Date: Tue, 28 Mar 2017 19:18:42 +0200	[thread overview]
Message-ID: <20170328171842.GE11725@noname.redhat.com> (raw)
In-Reply-To: <bbc2671a-42dd-aa2a-0f03-6a4a487cb8f5@redhat.com>

Am 27.03.2017 um 10:06 hat Thomas Huth geschrieben:
> On 24.03.2017 23:10, John Snow wrote:
> > On 03/08/2017 03:26 AM, Thomas Huth wrote:
> >>
> >>  Hi everybody,
> >>
> >> what will be the next version of QEMU after 2.9? Will we go for a 2.10
> >> (as I've seen it mentioned a couple of times on the mailing list
> >> already), or do we dare to switch to 3.0 instead?
> >>
> >> I personally dislike two-digit minor version numbers like 2.10 since the
> >> non-experienced users sometimes mix it up with 2.1 ... and there have
> >> been a couple of new cool features in the past releases that would
> >> justify a 3.0 now, too, I think.
> >>
> >> But anyway, the more important thing that keeps me concerned is: Someone
> >>  once told me that we should get rid of old parameters and interfaces
> >> (like HMP commands) primarily only when we're changing to a new major
> >> version number. As you all know, QEMU has a lot of legacy options, which
> >> are likely rather confusing than helpful for the new users nowadays,
> >> e.g. things like the "-net channel" option (which is fortunately even
> >> hardly documented), but maybe also even the whole vlan/hub concept in
> >> the net code, or legacy parameters like "-usbdevice". If we switch to
> >> version 3.0, could we agree to remove at least some of them?
> >>
> >>  Thomas
> >>
> > 
> > As others have stated, we need a few releases to deprecate things first.
> > 
> > Maybe we should develop a serious plan to develop some of our legacy
> > interfaces first.
> > 
> > Maybe 2.10 can introduce a list of things we want to deprecate,
> > 2.11 can be the transition release,
> > and then 3.0 can cut the cord and free of us our terrible burden?
> > 
> > I have a list of things I want to axe...
> 
> I've started a Wiki page with such a list here:
> 
> http://wiki.qemu-project.org/Features/LegacyRemoval
> 
> Feel free to amend!

I propose deprecating -drive (in favour of -blockdev/-device) and added
it to the list.

Similar to -net, we still need to check that all block devices created
internally by individual machines can still be configured. As far as I
know, this is already true for the PC, not sure about other machines.

But maybe we really should treat that as a problem of qdev/QOM, which
should provide a mechanism to set options for automatically created
devices rather than relying on subsystem-specific ways (like -net or
-drive) to bypass the normal qdev configuration.

Kevin

      parent reply	other threads:[~2017-03-28 17:18 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-08  8:26 [Qemu-devel] What's the next QEMU version after 2.9 ? (or: when is a good point in time to get rid of old interfaces) Thomas Huth
2017-03-08 10:03 ` Peter Maydell
2017-03-08 11:22   ` Thomas Huth
2017-03-08 11:24     ` Daniel P. Berrange
2017-03-09 12:33       ` Markus Armbruster
2017-03-09  2:21     ` Jason Wang
2017-03-09  8:50       ` Thomas Huth
2017-03-09  9:53         ` Jason Wang
2017-03-09 10:20           ` Yongbok Kim
2017-03-10 11:07             ` Jason Wang
2017-03-10 11:22               ` Peter Maydell
2017-03-10 11:53                 ` Thomas Huth
2017-03-10 11:58                   ` Yongbok Kim
2018-04-24 19:45                     ` Philippe Mathieu-Daudé
2017-03-09 10:11         ` [Qemu-devel] external snapshots freezes block device since qemu 2.8 Piotr Rybicki
2017-03-09 12:26           ` Dr. David Alan Gilbert
2017-04-05 22:18             ` John Snow
2017-04-06  9:25               ` Dr. David Alan Gilbert
2017-03-10 14:49           ` Kashyap Chamarthy
2017-03-10 15:44             ` Piotr Rybicki
2017-03-08 10:20 ` [Qemu-devel] What's the next QEMU version after 2.9 ? (or: when is a good point in time to get rid of old interfaces) Daniel P. Berrange
2017-03-08 11:19   ` Gerd Hoffmann
2017-04-12 13:47     ` Marc-André Lureau
2017-04-12 14:10       ` Gerd Hoffmann
2017-03-09 16:00 ` Kevin Wolf
2017-03-24 22:10 ` John Snow
2017-03-27  8:06   ` Thomas Huth
2017-03-27 12:01     ` Stefan Hajnoczi
2017-03-27 12:49       ` Peter Maydell
2017-04-03 14:19         ` Stefan Hajnoczi
2017-04-11 12:53           ` Markus Armbruster
2017-04-18  9:51             ` Stefan Hajnoczi
2017-04-18 11:57               ` Gerd Hoffmann
2017-04-18 17:18                 ` John Snow
2017-04-19  5:53                   ` Markus Armbruster
2017-04-19 10:35                     ` Gerd Hoffmann
2017-04-19 10:15                   ` Gerd Hoffmann
2017-04-19 23:08                     ` John Snow
2017-04-20  5:40                       ` Gerd Hoffmann
2017-04-20 11:10                         ` Philippe Mathieu-Daudé
2017-03-27 12:56       ` [Qemu-devel] Deprecating the -net option (was: What's the next QEMU version after 2.9 ? (or: when is a good point in time to get rid of old interfaces)) Thomas Huth
2017-03-27 13:09         ` [Qemu-devel] Deprecating the -net option Thomas Huth
2017-03-27 15:04           ` Paolo Bonzini
2017-03-27 19:04     ` [Qemu-devel] What's the next QEMU version after 2.9 ? (or: when is a good point in time to get rid of old interfaces) John Snow
2017-03-27 19:46       ` Thomas Huth
2017-03-29 16:21       ` [Qemu-devel] Deprecating old machine types Thomas Huth
2017-03-29 16:46         ` Dr. David Alan Gilbert
2017-03-29 16:54           ` Thomas Huth
2017-03-29 16:58           ` Paolo Bonzini
2017-03-29 21:42             ` Michael S. Tsirkin
2017-03-30  8:04             ` Gerd Hoffmann
2017-03-28 17:18     ` Kevin Wolf [this message]

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=20170328171842.GE11725@noname.redhat.com \
    --to=kwolf@redhat.com \
    --cc=armbru@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=qemu-block@nongnu.org \
    --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.