Received: from eggs.gnu.org ([2001:4830:134:3::10]:47912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVNOV-0003hV-1r for qemu-devel@nongnu.org; Thu, 04 Aug 2016 14:29:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bVNOT-0003Mp-0w for qemu-devel@nongnu.org; Thu, 04 Aug 2016 14:29:21 -0400 References: <1470164128-28158-1-git-send-email-jsnow@redhat.com> From: John Snow Message-ID: <33567f1e-e38b-1160-16b3-79804914e660@redhat.com> Date: Thu, 4 Aug 2016 14:29:13 -0400 MIME-Version: 1.0 In-Reply-To: <1470164128-28158-1-git-send-email-jsnow@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-2.7] atapi: fix halted DMA reset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: pbonzini@redhat.com, qemu-devel@nongnu.org On 08/02/2016 02:55 PM, John Snow wrote: > Followup to 87ac25fd, this time for ATAPI DMA. > > Reported-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; > I extracted an ACK out of Paolo offline, so I have staged this patch. Thanks, applied to my IDE tree: https://github.com/jnsnow/qemu/commits/ide https://github.com/jnsnow/qemu.git --js