On Mon, May 05, 2014 at 02:15:05PM +0500, Ayaz Akram wrote: > Does e1000's emulation in QEMU require that the guest set its base address > register(pci configuration space register) or qemu has default value for > its base address register?
There is no default. Drivers for some operating systems (Mac OS X?) may assume the device state set up by the firmware (UEFI). It's nasty to do that but it happens. Since QEMU's firmware is different from that on real machines a hack may be necessary to make the guest OS driver work. That hack shouldn't be in QEMU's device emulation code though - putting it into the guest firmware is closest to how the physical machine works. Stefan