[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.1-testing] HVM vif without bridge.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1199964878 0
# Node ID 8dbb6b32afaf2ab82df875663223881657d4c4b7
# Parent  2dbeb8df89e2860471c4c360e5a2c97092effdde
HVM vif without bridge.
When using xen without a bridge but NAT or routing, HVM domains can't
boot, and qemu-dm-n.log contains:

config qemu network with xen bridge for  tap0 xenbr0
bridge xenbr0 does not exist!

That's because the qemu-ifup script always tries to add the vif to
a default-named xenbr0 bridge. On the contrary, PV domains just work
fine with the same configuration file except HVM parameters.

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxx>
xen-unstable changeset:   16679:60440a7e7a40c0cfe94f7abcbde82ea2c6e123fe
xen-unstable date:        Tue Jan 08 09:40:33 2008 +0000
---
 tools/ioemu/target-i386-dm/qemu-ifup |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 2dbeb8df89e2 -r 8dbb6b32afaf tools/ioemu/target-i386-dm/qemu-ifup
--- a/tools/ioemu/target-i386-dm/qemu-ifup      Thu Jan 10 11:32:19 2008 +0000
+++ b/tools/ioemu/target-i386-dm/qemu-ifup      Thu Jan 10 11:34:38 2008 +0000
@@ -6,4 +6,4 @@ echo 'config qemu network with xen bridg
 echo 'config qemu network with xen bridge for ' $*
 
 ifconfig $1 0.0.0.0 up
-brctl addif $2 $1
+brctl addif $2 $1 || true

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.