From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bX9Iu-0000HF-6F for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:50:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bX9Io-0002C9-Ve for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:50:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bX9Io-0002C4-QE for qemu-devel@nongnu.org; Tue, 09 Aug 2016 11:50:50 -0400 From: John Snow Date: Tue, 9 Aug 2016 11:50:46 -0400 Message-Id: <1470757846-11266-2-git-send-email-jsnow@redhat.com> In-Reply-To: <1470757846-11266-1-git-send-email-jsnow@redhat.com> References: <1470757846-11266-1-git-send-email-jsnow@redhat.com> Subject: [Qemu-devel] [PULL 1/1] atapi: fix halted DMA reset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, jsnow@redhat.com Followup to 87ac25fd, this time for ATAPI DMA. Reported-by: Paolo Bonzini Signed-off-by: John Snow Message-id: 1470164128-28158-1-git-send-email-jsnow@redhat.com Acked-by: Paolo Bonzini Signed-off-by: John Snow --- hw/ide/atapi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/ide/atapi.c b/hw/ide/atapi.c index 95056d9..6189675 100644 --- a/hw/ide/atapi.c +++ b/hw/ide/atapi.c @@ -386,6 +386,7 @@ static void ide_atapi_cmd_read_dma_cb(void *opaque, int ret) if (ret < 0) { if (ide_handle_rw_error(s, -ret, ide_dma_cmd_to_retry(s->dma_cmd))) { if (s->bus->error_status) { + s->bus->dma->aiocb = NULL; return; } goto eot; -- 2.7.4