From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPENw-0006ue-TH for qemu-devel@nongnu.org; Mon, 08 Apr 2013 11:53:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPENv-0004zz-Mu for qemu-devel@nongnu.org; Mon, 08 Apr 2013 11:53:32 -0400 Received: from mail-wg0-f43.google.com ([74.125.82.43]:49230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPENv-0004zn-Gb for qemu-devel@nongnu.org; Mon, 08 Apr 2013 11:53:31 -0400 Received: by mail-wg0-f43.google.com with SMTP id f12so5799540wgh.34 for ; Mon, 08 Apr 2013 08:53:30 -0700 (PDT) Date: Mon, 8 Apr 2013 17:53:27 +0200 From: Stefan Hajnoczi Message-ID: <20130408155327.GD22660@stefanha-thinkpad.redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] virtio-scsi WRITE_VERIFY crash List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Venkatesh Srinivas Cc: Paolo Bonzini , Asias He , qemu-devel@nongnu.org On Fri, Apr 05, 2013 at 11:30:00AM -0700, Venkatesh Srinivas wrote: > When a Linux guest does a simple 'sg_verify /dev/ 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