From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4yN7-0003hj-DP for qemu-devel@nongnu.org; Thu, 10 Nov 2016 18:03:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4yN4-0004Z3-3m for qemu-devel@nongnu.org; Thu, 10 Nov 2016 18:03:05 -0500 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]:36644) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c4yN3-0004YS-QV for qemu-devel@nongnu.org; Thu, 10 Nov 2016 18:03:02 -0500 Received: by mail-pf0-x241.google.com with SMTP id n85so6788pfi.3 for ; Thu, 10 Nov 2016 15:03:01 -0800 (PST) From: John Fastabend Message-ID: <5824FC93.4010104@gmail.com> Date: Thu, 10 Nov 2016 15:02:43 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] qemu virtio_net abort bisect List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: stefanha@redhat.com, qemu-devel@nongnu.org Hi Michael, I'm getting a qemu crash from a load/unload of virtio_net.ko in guest kernel with the following, > ./x86_64-softmmu/qemu-system-x86_64 -hda /var/lib/libvirt/images/Fedora-test0.img \ -m 4096 -enable-kvm -smp 4 -netdev tap,id=hn0,queues=4,vhost=on \ -device virtio-net-pci,netdev=hn0,mq=on,vectors=9 in the host I do a simple # rmmod virtio_net # modprobe virtio_net And bisecting points at this merge which just from the commit message looks like it could be the culprit, > Merge: 4eb28ab 5300063 > Author: Stefan Hajnoczi > Date: Thu Nov 3 14:41:53 2016 +0000 > > Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging > > virtio, pc: fixes and features > > nvdimm hotplug support > virtio migration and ioeventfd rework <--- ioeventfd bits? > virtio crypto device > ipmi fixes > > Signed-off-by: Michael S. Tsirkin Running without the above and everything works no issues. I started to debug but admittedly got a bit lost in the notifier hooks maybe someone will have a better idea. Here is the error I get, > kvm_io_ioeventfd_add: error adding ioeventfd: File exists > Aborted (core dumped) I had a gdb backtrace at one point and can post that if its helpful. Thanks, John