Problem with TAP device when starting KVM virtualmachine

Hello

after setting up Cloudmin in a CentOS 5.4 when we try to create a new VM all works fine but when we try to starts the VM we get this error:

Starting up vmpro01.cloudmin.xxxx.net
… failed : /etc/qemu-ifup: could not launch network script Could not initialize device ‘tap’

Ok, is a problem on networks but in the Cloudmin documentation we havo no finds info about “tap” device.

Can someone help?

Hi

I think I had the same problem.
I had this in /var/log/xen/qemu-dm-u1010.log :

domid: 3
-c config qemu network with xen bridge for
tap3.0 xenbr0
bridge xenbr0 does not exist!
/etc/xen/scripts/qemu-ifup: could not launch network script
Could not initialize device ‘tap’

To resolve, just add xenbr0 bridge, and link it on tap0 (or other). This is normaly doing by /etc/xen/scripts/qemu-ifup, by in my case bridge did not exists…

brctl addbr xenbr0
ifconfig tap0 0.0.0.0 up
brctl addif xenbr0 tap0

give a feedback !