From: Stefan Hajnoczi <stefanha@gmail.com>
To: Venkatesh Srinivas <venkateshs@google.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>, Asias He <asias@redhat.com>,
qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] virtio-scsi WRITE_VERIFY crash
Date: Mon, 8 Apr 2013 17:53:27 +0200 [thread overview]
Message-ID: <20130408155327.GD22660@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <CAHdzE-8SHPxC++f97T0fvfuZsbzeAMKudLjSypxod31W-vZauA@mail.gmail.com>
On Fri, Apr 05, 2013 at 11:30:00AM -0700, Venkatesh Srinivas wrote:
> 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.
CCing Paolo Bonzini and Asias He. See the ./MAINTAINERS file to find
people that can help with specific QEMU subsystems.
It would be nice to include a full gdb backtrace when possible since
that may include extra information like that value of arguments in the
call stack.
Stefan
next prev parent reply other threads:[~2013-04-08 15:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-05 18:30 [Qemu-devel] virtio-scsi WRITE_VERIFY crash Venkatesh Srinivas
2013-04-08 15:53 ` Stefan Hajnoczi [this message]
2013-04-08 16:28 ` ronnie sahlberg
2013-04-08 16:52 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130408155327.GD22660@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=asias@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=venkateshs@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).