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
echo 'config qemu network with xen bridge for ' $*
ifconfig $1 0.0.0.0 up
-brctl addif $2 $1
+brctl addif $2 $1 || true