A while ago I asked about how to change the NIC model of an HVM machine under xVM, since my OS didn't work properly with the default.
Something in the xVM code explicitly sets the NIC model to rtl8139 when invoking qemu-dm, so I had a look to see what alternatives there might be, by comparing the man page for qemu on another OS with the list of *.c filenames recorded in the qemu-dm binary. I have found that changing the <emulator> field in the .xml file to a shell script has enabled me to try the two alternative NIC types that qemu-dm seems to know about, namely pcnet and ne2k_pci. (It might even do ne2k_isa, but I couldn't be bothered checking.) - ->8- - #!/bin/ksh # Set HVM network device to something other than Solaris' default rtl8139. case $0 in *qemu.*) NET=$(echo $0 | sed -e 's/.*qemu[.]//');; esac exec /usr/lib/xen/bin/qemu-dm $(echo $* | sed -e "s/rtl8139/$NET/g") - ->8- - -- Christopher Vance _______________________________________________ xen-discuss mailing list [email protected]
