]> xenbits.xensource.com Git - qemu-xen-4.0-testing.git/commit
Change tap device mac address to prevent change of bridge's mac xen-4.0.2 xen-4.0.2-rc1 xen-4.0.2-rc2 xen-4.0.2-rc3 xen-4.0.2-rc4 xen-4.0.2-rc5 xen-4.0.3 xen-4.0.3-rc1 xen-4.0.3-rc2 xen-4.0.3-rc3
authorMiroslav Rezanina <mrezanin@redhat.com>
Wed, 5 Jan 2011 23:42:03 +0000 (23:42 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 5 Jan 2011 23:42:03 +0000 (23:42 +0000)
commit6d5b7ee3acfe8cc10681d2583a38398f7470ec2a
tree45a37c166e9917cb13de682f5808a98317409878
parent0a940d892e90c820567cd7a2da7b1e990a3b40ca
Change tap device mac address to prevent change of bridge's mac

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 m ac is lower than bridge one. This can lead to
short network breakage for dom0 a nd 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.

(In xen-unstable this is handled by the hotplug scripts, not
qemu-ifup, so the change there is to xen-unstable.hg.)

Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
i386-dm/qemu-ifup-Linux