qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gildas <gildas.ml@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] rename vlan to vnet and mark vlan as deprecated
Date: Tue, 9 Dec 2008 16:58:36 +0100	[thread overview]
Message-ID: <b2ace7f20812090758w2e5ef4a0qc8b769b953f564db@mail.gmail.com> (raw)
In-Reply-To: <493E92DA.2030209@codemonkey.ws>

2008/12/9 Anthony Liguori <anthony@codemonkey.ws>:
> Daniel P. Berrange wrote:
>>
>> On Tue, Dec 09, 2008 at 04:01:53PM +0100, Gildas wrote:
>>
>>>
>>> --
>>> This patch renames occurences of vlan/VLAN that are not related to IEE
>>> 802.1q vlans to vnet/VNET respectively.
>>>
>>> Usage of vlan= in the -net options is still allowed but will produce
>>> an error message on stderr indicating that the option is now
>>> deprecated and will be removed in the future.
>>>
>>
>> This bit will just piss people off. By all means change t to allow
>> the net vnet= option, but printing out a warning for vlan= on every
>> boot is just going to annoy people and they cannot simply change
>> their scripts because they may well need to run with old QEMU and
>> new QEMU
>>
>
> Introducing an alias for something as core as vlan support is not all that
> useful.  We're never going to implement the vlan option.
>
> All of the internal references are for vlan too.
>
> Regards,
>
> Anthony Liguori

I think that keeping backward compatibility is a good idea and I'm ok
to remove the warning message even though I don't think it does any
harm.  I will modify the patch to document the fact that vlan=  is not
IEEE 902.1q and that vnet= is the prefered option.

I really think that it's a change that should done, both in the code
and usage as both will greatly benefit from a move to VNET. Just look
at the actual naming mess in e1000.c where real 802.1q handling takes
place as well...

Regards,
Gildas

  reply	other threads:[~2008-12-09 16:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-09 15:01 [Qemu-devel] [PATCH] rename vlan to vnet and mark vlan as deprecated Gildas
2008-12-09 15:29 ` Anthony Liguori
2008-12-09 17:20   ` Kristoffer Ericson
2008-12-09 16:40     ` Anthony Liguori
2008-12-09 16:51       ` Daniel P. Berrange
2008-12-09 17:14     ` Paul Brook
2008-12-09 15:37 ` Daniel P. Berrange
2008-12-09 15:46   ` Anthony Liguori
2008-12-09 15:58     ` Gildas [this message]
2008-12-09 16:06       ` Anthony Liguori
2008-12-09 16:30         ` Gildas
2008-12-09 21:36         ` Luca Bigliardi

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=b2ace7f20812090758w2e5ef4a0qc8b769b953f564db@mail.gmail.com \
    --to=gildas.ml@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /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 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).