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

[Xen-changelog] [xen-unstable] HVM vif without bridge.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1199785233 0
# Node ID 60440a7e7a40c0cfe94f7abcbde82ea2c6e123fe
# Parent  2491691e3e69b38ef8e1f21aa535922b9ffaac28
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>
---
 tools/ioemu/target-i386-dm/qemu-ifup |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 2491691e3e69 -r 60440a7e7a40 tools/ioemu/target-i386-dm/qemu-ifup
--- a/tools/ioemu/target-i386-dm/qemu-ifup      Sat Dec 29 17:57:47 2007 +0000
+++ b/tools/ioemu/target-i386-dm/qemu-ifup      Tue Jan 08 09:40:33 2008 +0000
@@ -34,4 +34,4 @@ fi
 fi
 
 ifconfig $1 0.0.0.0 up
-brctl addif $bridge $1
+brctl addif $bridge $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®.