]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
HVM vif without bridge.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 10 Jan 2008 11:34:38 +0000 (11:34 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 10 Jan 2008 11:34:38 +0000 (11:34 +0000)
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@citrix.com>
xen-unstable changeset:   16679:60440a7e7a40c0cfe94f7abcbde82ea2c6e123fe
xen-unstable date:        Tue Jan 08 09:40:33 2008 +0000

tools/ioemu/target-i386-dm/qemu-ifup

index 1212ae89265a517506248a904400012f69617f6a..fc810feb9aae0b8adcba3b649b6f6113d5841f1f 100644 (file)
@@ -6,4 +6,4 @@
 echo 'config qemu network with xen bridge for ' $*
 
 ifconfig $1 0.0.0.0 up
-brctl addif $2 $1
+brctl addif $2 $1 || true