On Sat, Aug 17, 2019 at 05:32:35PM +0800, Peter Xu wrote: > I can easily crash QEMU as long as KVM is used with e1000 and reboot > many times, then I hit this and QEMU aborts [1]: > > kvm_mem_ioeventfd_add: error adding ioeventfd: No space left on device (28)
Reproducer: bin=x86_64-softmmu/qemu-system-x86_64 $bin -M q35,accel=kvm,kernel-irqchip=on -smp 8 -m 2G -cpu host \ -device e1000,netdev=net0 \ -netdev user,id=net0,hostfwd=tcp::5555-:22 \ -device e1000,netdev=net1 \ -netdev user,id=net1 \ -device e1000,netdev=net2 \ -netdev user,id=net2 \ -device e1000,netdev=net3 \ -netdev user,id=net3 \ -drive file=/images/default.qcow2,if=none,cache=none,id=drive0 \ -device virtio-blk-pci,drive=drive0 This should crash for no more than 2-3 reboots. The more e1000, the faster. Regards, -- Peter Xu