>Well, but it seems, now the virtual machine no longer finds >a network device anymore.
Hmmm. Some version info would have been handy (e.g. using kvm-60, using Linux kernel 2.8.12). Kvm-60 emulates the 8139 LAN card by default, not the NE2000 of earlier versions. Check which card you have by switching to the monitor inside QEMU (Ctrl-Alt-2). Do this: (qemu) info pci An NE2000 (aka RT8029) will show up as PCI device 10ec:8029. The 8139 will show up as 10ec:8139. (Other values are possible, depending on what cards KVM is asked to provide. Try http://www.pcidatabase.com/ for an extensive cross-reference list of PCI vendor/device IDs.) You can try forcing KVM to use the RT8029 card on the command line with the command line option: -net nic,model=ne2k_pci Or you can try forcing Linux to load the needed driver for the 8139 card by doing: # modprobe 8139too and seeing if this lights up the eth0 interface. For reasons I've never bothered to investigate, I've found that 8139too doesn't always get auto-detected-and-loaded, when other cards do. I presume there is a good reason for this (perhaps that there are different driver flavours which conflict but which cannot tell the different sorts of 8139 card apart.) If you don't have a kernel driver for 8139too then you will need to build one. As for mounting a RAW image loopback, don't forget that you need to mount the partition _inside_ the image (e.g. /dev/hda1) not the entire image (which corresponds to /dev/hda under Linux). Assuming that you created a single partition, or at least that your root partition is the first one (/dev/hda1 or /dev/sda1), and assuming a default position for that first partition, it should start 63 sectors along the physical disk (for historical reasons we don't have time for here :-). At 512 bytes per sector, that's an offset of 32256 bytes. So try this: # mount -o loop,offset=32256 myrawimage.raw /mnt/mymountpoint That's the beauty of raw images :-) All my VMWare-hugging colleages go, "hey, I didn't see you start the VM, how did you do that?" Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel