All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	jasowang@redhat.com, John Snow <jsnow@redhat.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Deprecating the -net option
Date: Mon, 27 Mar 2017 15:09:27 +0200	[thread overview]
Message-ID: <b82cff1f-173f-147f-4359-fc8266605f9f@redhat.com> (raw)
In-Reply-To: <c58c7688-7ffa-6043-0919-0842931ddc9b@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 3597 bytes --]

On 27.03.2017 14:56, Thomas Huth wrote:
> On 27.03.2017 14:01, Stefan Hajnoczi wrote:
>> On Mon, Mar 27, 2017 at 10:06:09AM +0200, Thomas Huth wrote:
>>> 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
>>
>> It would be nice to get rid of the legacy -net option in 3.0.0.  I have
>> added it and included pointers to loose ends.  I think this is doable
>> but will require some time to achieve.
> 
> Not sure whether we really can get rid of the -net option completely,
> since AFAIK it is the only way to configure on-board NICs at the moment,
> and Paolo complains if he needs to type longer command lines
> (https://lists.gnu.org/archive/html/qemu-devel/2015-12/msg02448.html).
> 
> But maybe we could get rid of the VLANs here at least, e.g. by matching
> "-net nic" and a following "-net user|bridge|tap|..." with an internal
> netdev ID instead of creating a "VLAN" hub?
> 
> Or we could even turn the -net option into a full "convenience" option
> instead (similar to "-hda" and friends), so that you even do not have to
> specify "-net nic" anymore but create both, network source and sink with
> one "-net" statement, e.g.:
> 
>  qemu-system-xxx -net user,model=e1000,hostfwd=...
> 
> Just my 0.02 €

... and I forgot to mention: We should at least try to get rid of the
options first that only work with -net (or rather the VLAN concept),
like "-net dump", "-net channel", "-tftp", "-smb", "-bootp" and
"-redir", since these will hinder us from doing further reworks /
clean-ups in this area. I think I've mentioned them all on the Wiki page
now, if somebody is aware of another legacy option here that does not
work with "-netdev" yet (apart from -net nic itself), please let me know.

 Thomas



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2017-03-27 13:09 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         ` Thomas Huth [this message]
2017-03-27 15:04           ` [Qemu-devel] Deprecating the -net option 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     ` [Qemu-devel] Deprecating the -drive option is a good point in time to get rid of old interfaces) Kevin Wolf

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=b82cff1f-173f-147f-4359-fc8266605f9f@redhat.com \
    --to=thuth@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.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.