Hi list, I am testing e1000 emulation with qemu 2.5. Command line: -netdev tap,fd=21,id=hostnet0 \ -device e1000,netdev=hostnet0,id=net0,mac=$MAC1,bus=pci.0,addr=0x4
AFAIU, e1000 is emulated in qemu (userspace) and each i/o should cause vmexit to userspace. And each exit to userspace should increment mmio_exits counter (/sys/kernel/debug/kvm/mmio_exits). As I see in kvm code, kvm_mmu_page_fault() in arch/x86/kvm/mmu.c, case for EMULATE_USER_EXIT. http://lxr.free-electrons.com/source/arch/x86/kvm/mmu.c#L4391 However, when I run load I see that mmio_exits counter is almost constant. What am I missing here? Thank you