Comment 35 for bug 886521

Revision history for this message
Gihan Munasinghe (gihan-v) wrote :

Guys

If I am getting this correctly what Stefan is talking about the default xen behaviour, net device emulation works bit differently than the disk in xen. If you give the vif "type= ioemu" the host dom0 will not even try to create a net_back device, and let qemu-dm to create qemu nic ( pretty much like what kvm does for non virtio devices )

This is the reason why you have to create 2 nics with the same mac address with "type= ioemu" and "type=xen (this can be anything except ioemu )", and I think this would be the correct behaviour, so the host does not need to know what OS is the guest running or weather guest have net_front drivers, and leave it up to the guest to pick what device path it wants to use.

I think you can not do this with xm config (python based client util), but you can easily do this in xl config (new C stuff), or using the libxl/libxen library.