From: Ian Jackson Subject: Re: [PATCH][qemu-xen] Change tap device mac address to prevent change of bridge's mac Date: Wed, 5 Jan 2011 23:43:38 +0000 Message-ID: <19749.554.74671.689535@mariner.uk.xensource.com> References: <1184158838.29197.1292937183439.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> <1292938574.4500.1899.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1292938574.4500.1899.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: Miroslav Rezanina , xen-devel List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH][qemu-xen] Change tap device mac address to prevent change of bridge's mac"): > On Tue, 2010-12-21 at 13:13 +0000, Miroslav Rezanina wrote: > > Qemu tap device is created with random mac address and then add to bridge. Due to linux kernel handlig, bridge change its mac address to tap mac in case tap mac is lower than bridge one. This can lead to short network breakage for dom0 and guests. > > > > This patch set tap device mac adress to FE:FF:FF:FF:FF:FF to ensure tap device mac is always higher then bridge one. > > > > Signed-off-by: Miroslav Rezanina > > Thanks. This needed a different fix in xen-unstable.hg because tap > devices are handled by the hotplug scripts and not qemu-ifup there. See > the recent thread "tools/hotplug/Linux: Ensure tap devices receive a > dummy MAC address". > > My backport to xen-4.0-testing looked a lot like yours. Thanks for that, I've applied Miroslav's patch to qemu-xen-4.0-testing.git. Ian.