qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] virtio-scsi WRITE_VERIFY crash
@ 2013-04-05 18:30 Venkatesh Srinivas
  2013-04-08 15:53 ` Stefan Hajnoczi
  0 siblings, 1 reply; 4+ messages in thread
From: Venkatesh Srinivas @ 2013-04-05 18:30 UTC (permalink / raw)
  To: qemu-devel

Hi,

When a Linux guest does a simple 'sg_verify /dev/<scsi disk on a
virtio-scsi HBA>', qemu (-master from git) crashes, tripping an
assertion in scsi-disk.c:scsi_dma_complete(), that the completing DMA
command has no IOCB.

The callpath is:
scsi_dma_complete
dma_complete
dma_bdrv_cb
dma_bdrv_io
dma_bdrv_read
scsi_do_read
bdrv_co_em_bh
aio_bh_poll
aio_poll.

At the assertion, we have a zero-element iovector and the request has
a status of -1.

-- vs;

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-08 16:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-05 18:30 [Qemu-devel] virtio-scsi WRITE_VERIFY crash Venkatesh Srinivas
2013-04-08 15:53 ` Stefan Hajnoczi
2013-04-08 16:28   ` ronnie sahlberg
2013-04-08 16:52   ` Paolo Bonzini

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).