From: Paolo Bonzini <pbonzini@redhat.com>
To: Corey Bryant <coreyb@linux.vnet.ibm.com>
Cc: qemu-devel@nongnu.org, qemu-stable@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] qemu-bridge-helper: force usage of a very high MAC address for the bridge
Date: Fri, 22 Mar 2013 23:09:09 +0100 [thread overview]
Message-ID: <514CD685.3040600@redhat.com> (raw)
In-Reply-To: <514CCF04.4070408@linux.vnet.ibm.com>
Il 22/03/2013 22:37, Corey Bryant ha scritto:
> Is it desirable to change a mac address under the covers?
This is the TAP mac address. It is unrelated to the guest's MAC
address. It is a random link-local address, all this patch does is make
it less random.
> Also it seems like this might be better if it was optional.
> qemu-bridge-helper can take command line options like this:
>
> -net tap,helper="/usr/local/libexec/qemu-bridge-helper --br=br0"
>
> Perhaps adding a --macaddr option is a better approach?
Adding a --macaddr=00:11:... option to force a _particular_ MAC address
could also be useful (if only to help associating guests' MAC addresses
with tap interfaces; the only difference would be the initial 0xFE
byte). But it is not easily done in QEMU because MAC addresses are a
-device option, not a -netdev option.
This patch fixes the real issue that, when the bridge changes MAC
address, there is a small but significant network downtime. See libvirt
commit 6ea90b843eff95be6bcbb49a327656fc6f6445ef for reference.
What would you make it conditional on?
Paolo
next prev parent reply other threads:[~2013-03-22 22:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-22 16:57 [Qemu-devel] [PATCH] qemu-bridge-helper: force usage of a very high MAC address for the bridge Paolo Bonzini
2013-03-22 21:37 ` Corey Bryant
2013-03-22 22:09 ` Paolo Bonzini [this message]
2013-03-25 13:22 ` Corey Bryant
2013-03-25 13:25 ` Corey Bryant
2013-04-01 20:48 ` Anthony Liguori
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=514CD685.3040600@redhat.com \
--to=pbonzini@redhat.com \
--cc=coreyb@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@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 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.