qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Amos Kong <akong@redhat.com>
To: Stefan Hajnoczi <stefanha@redhat.com>
Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org, mst@redhat.com
Subject: Re: [Qemu-devel] [PATCH 0/2] fix macaddr allocation
Date: Tue, 18 Jun 2013 20:39:40 +0800	[thread overview]
Message-ID: <20130618123940.GA27364@amosk.info> (raw)
In-Reply-To: <20130618112111.GF7649@stefanha-thinkpad.redhat.com>

On Tue, Jun 18, 2013 at 01:21:11PM +0200, Stefan Hajnoczi wrote:
> On Mon, Jun 17, 2013 at 09:35:09PM +0800, Amos Kong wrote:
> > This patchset adds a check in allocating mac to new nic,
> > it will avoid to use repeated mac. The second extends
> > the address space.
> > 
> > Amos Kong (2):
> >   avoid to allcate used macaddr to to new nic
> >   extend the macaddr space to 0xffffffff
> > 
> >  net/net.c | 38 ++++++++++++++++++++++++++++++++++----
> >  1 file changed, 34 insertions(+), 4 deletions(-)
> 
> I agree with Michael here and think neither patch should be merged.


So did I, thanks for your comments.
 
> Both of these patches provide some level of convenience but they cannot
> solve the problem.  Things already work fine automatically in small
> setups where the user depends on QEMU to handle MAC allocation.
> 
> In bigger setups you absolutely have to manage MACs or face collisions.
> So I don't think it's worth trying to maintain the illusion in
> scenarios that are too complex to automatically allocate for.
>
> Stefan

-- 
			Amos.

      reply	other threads:[~2013-06-18 12:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-17 13:35 [Qemu-devel] [PATCH 0/2] fix macaddr allocation Amos Kong
2013-06-17 13:35 ` [Qemu-devel] [PATCH 1/2] avoid to allcate used macaddr to to new nic Amos Kong
2013-06-17 14:00   ` Michael S. Tsirkin
2013-06-18  2:05     ` Fam Zheng
2013-06-18  6:27       ` Michael S. Tsirkin
2013-06-17 13:35 ` [Qemu-devel] [PATCH 2/2] extend the macaddr space to 0xffffffff Amos Kong
2013-06-17 14:04   ` Michael S. Tsirkin
2013-06-18  1:51     ` Amos Kong
2013-06-18  6:19       ` Michael S. Tsirkin
2013-06-18 11:21 ` [Qemu-devel] [PATCH 0/2] fix macaddr allocation Stefan Hajnoczi
2013-06-18 12:39   ` Amos Kong [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=20130618123940.GA27364@amosk.info \
    --to=akong@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@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 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).