qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] kvm_virtio_pci_irqfd_release: Assertion `ret == 0' failed


From: Luiz Capitulino
Subject: [Qemu-devel] kvm_virtio_pci_irqfd_release: Assertion `ret == 0' failed
Date: Thu, 17 Jan 2013 13:28:48 -0200

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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]