Stefan,
with current qemu master (without your latest patch request, but it does not 
make a difference) I get:
...
Program terminated with signal 11, Segmentation fault.
#0  0x000000008006b01e in virtio_blk_rw_complete (opaque=0x80a68980, 
ret=<optimized out>) at /home/cborntra/REPOS/qemu/hw/block/virtio-blk.c:99
99          bdrv_acct_done(req->dev->bs, &req->acct);
(gdb) bt -a
#0  0x000000008006b01e in virtio_blk_rw_complete (opaque=0x80a68980, 
ret=<optimized out>) at /home/cborntra/REPOS/qemu/hw/block/virtio-blk.c:99
#1  0x000000008019e614 in bdrv_co_em_bh (opaque=0x80a692c0) at 
/home/cborntra/REPOS/qemu/block.c:4675
#2  0x0000000080195e50 in aio_bh_poll (ctx=ctx@entry=0x809a9c10) at 
/home/cborntra/REPOS/qemu/async.c:81
#3  0x00000000801a835e in aio_poll (ctx=0x809a9c10, 
blocking=blocking@entry=true) at /home/cborntra/REPOS/qemu/aio-posix.c:188
#4  0x00000000800b6e20 in iothread_run (opaque=0x809a9ab8) at 
/home/cborntra/REPOS/qemu/iothread.c:41
#5  0x000003fffd35a412 in start_thread () from /lib64/libpthread.so.0
#6  0x000003fffbfe00ae in thread_start () from /lib64/libc.so.6
(gdb) print req->dev 
$1 = (VirtIOBlock *) 0x0

any idea?

Christian


Reply via email to