* [Qemu-devel] kvm_virtio_pci_irqfd_release: Assertion `ret == 0' failed
@ 2013-01-17 15:28 Luiz Capitulino
2013-01-17 15:50 ` Michael S. Tsirkin
0 siblings, 1 reply; 3+ messages in thread
From: Luiz Capitulino @ 2013-01-17 15:28 UTC (permalink / raw)
To: mst; +Cc: qemu-devel
Hi Michael,
To trigger this I just:
1. Boot the VM, command-line:
# ./qemu -drive file=disks/test.img,if=virtio,cache=none,aio=native \
-enable-kvm -m 1G -monitor stdio \
-netdev type=tap,vhost=on,id=guest0,script=qemu-ifup-switch \
-device virtio-net-pci,netdev=guest0 -cpu host
2. Once the VM is fully booted:
QEMU 1.3.50 monitor - type 'help' for more information
(qemu) q
qemu-qmp: /home/lcapitulino/work/src/qmp-unstable/hw/virtio-pci.c:535: kvm_virtio_pci_irqfd_release: Assertion `ret == 0' failed.
~/work/virt/
Seems to be related with your latest pull request (commit 8e9a8681).
Backtrace:
(gdb) bt
#0 0x00007fa3dee67285 in raise () from /lib64/libc.so.6
#1 0x00007fa3dee68b9b in abort () from /lib64/libc.so.6
#2 0x00007fa3dee5fe9e in __assert_fail_base () from /lib64/libc.so.6
#3 0x00007fa3dee5ff42 in __assert_fail () from /lib64/libc.so.6
#4 0x00007fa3e1522260 in kvm_virtio_pci_irqfd_release (proxy=0x7fa3e41a9440, queue_no=2, vector=1)
at /home/lcapitulino/work/src/qmp-unstable/hw/virtio-pci.c:535
#5 0x00007fa3e15224da in kvm_virtio_pci_vector_release (proxy=0x7fa3e41a9440, nvqs=2)
at /home/lcapitulino/work/src/qmp-unstable/hw/virtio-pci.c:605
#6 0x00007fa3e1522c87 in virtio_pci_set_guest_notifiers (d=0x7fa3e41a9440, nvqs=2, assign=false)
at /home/lcapitulino/work/src/qmp-unstable/hw/virtio-pci.c:785
#7 0x00007fa3e1613c15 in vhost_dev_stop (hdev=0x7fa3e3a89720, vdev=0x7fa3e4444810)
at /home/lcapitulino/work/src/qmp-unstable/hw/vhost.c:1027
#8 0x00007fa3e16143ca in vhost_net_stop (net=0x7fa3e3a89720, dev=0x7fa3e4444810)
at /home/lcapitulino/work/src/qmp-unstable/hw/vhost_net.c:194
#9 0x00007fa3e1617714 in virtio_net_vhost_status (n=0x7fa3e4444810, status=7 '\a')
at /home/lcapitulino/work/src/qmp-unstable/hw/virtio-net.c:137
#10 0x00007fa3e161778b in virtio_net_set_status (vdev=0x7fa3e4444810, status=7 '\a')
at /home/lcapitulino/work/src/qmp-unstable/hw/virtio-net.c:146
#11 0x00007fa3e161792b in virtio_net_set_link_status (nc=0x7fa3e41a45c0) at /home/lcapitulino/work/src/qmp-unstable/hw/virtio-net.c:181
#12 0x00007fa3e1532d9c in qemu_del_net_client (nc=0x7fa3e3a78130) at /home/lcapitulino/work/src/qmp-unstable/net/net.c:271
#13 0x00007fa3e1534681 in net_cleanup () at /home/lcapitulino/work/src/qmp-unstable/net/net.c:919
#14 0x00007fa3dee6a931 in __run_exit_handlers () from /lib64/libc.so.6
#15 0x00007fa3dee6a9b5 in exit () from /lib64/libc.so.6
#16 0x00007fa3dee526a4 in __libc_start_main () from /lib64/libc.so.6
#17 0x00007fa3e13acbc9 in _start ()
(gdb)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] kvm_virtio_pci_irqfd_release: Assertion `ret == 0' failed
2013-01-17 15:28 [Qemu-devel] kvm_virtio_pci_irqfd_release: Assertion `ret == 0' failed Luiz Capitulino
@ 2013-01-17 15:50 ` Michael S. Tsirkin
2013-01-17 15:51 ` Luiz Capitulino
0 siblings, 1 reply; 3+ messages in thread
From: Michael S. Tsirkin @ 2013-01-17 15:50 UTC (permalink / raw)
To: Luiz Capitulino; +Cc: qemu-devel
On Thu, Jan 17, 2013 at 01:28:48PM -0200, Luiz Capitulino wrote:
> Hi Michael,
>
> To trigger this I just:
Yes you need
virtio-pci: fix irqfd cleanup argument order
--
MST
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] kvm_virtio_pci_irqfd_release: Assertion `ret == 0' failed
2013-01-17 15:50 ` Michael S. Tsirkin
@ 2013-01-17 15:51 ` Luiz Capitulino
0 siblings, 0 replies; 3+ messages in thread
From: Luiz Capitulino @ 2013-01-17 15:51 UTC (permalink / raw)
To: Michael S. Tsirkin; +Cc: qemu-devel
On Thu, 17 Jan 2013 17:50:09 +0200
"Michael S. Tsirkin" <mst@redhat.com> wrote:
> On Thu, Jan 17, 2013 at 01:28:48PM -0200, Luiz Capitulino wrote:
> > Hi Michael,
> >
> > To trigger this I just:
>
> Yes you need
> virtio-pci: fix irqfd cleanup argument order
Oh, ok, so it's already known. I assume the fix is in flight to master.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-17 16:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-17 15:28 [Qemu-devel] kvm_virtio_pci_irqfd_release: Assertion `ret == 0' failed Luiz Capitulino
2013-01-17 15:50 ` Michael S. Tsirkin
2013-01-17 15:51 ` Luiz Capitulino
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).