I've finally managed to find the simpler way to do what I wanted: 1) I've created a simple .py file with the: vif = ['type=ioemu,mac=XX:XX:XX:XX:XX:XX,model=ne2k_pci'] line 2) then I've done an xm create -f filename -n the useful -n option does a dry-run and dumps to you the resulting .sxp 3) made a diff with the previous .sxp created by virsh and seen that it added just this line to the network definition: (model ne2k_pci) 4) I've deleted and recreated the domU with xm create -F newfile.sxp 5) then, just for the sake of it, I did a virsh dumpxml of that same domain, and you know what the only difference was? with ne2k target dev='vif8.0' with default realtek nick emulation it was target dev='vif1.0' I don't know where all of this is documented but maybe it should be added to this excellent howto: http://www.opensolaris.org/os/community/xen/docs/xvm_how_to_V2.0.pdf
just my 2c :) This message posted from opensolaris.org _______________________________________________ xen-discuss mailing list [email protected]
