mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-01 22:23:23 -10:00
atapi: fix halted DMA reset
Followup to 87ac25fd, this time for ATAPI DMA.
Reported-by: Paolo Bonzini <[email protected]>
Signed-off-by: John Snow <[email protected]>
Message-id: [email protected]
Acked-by: Paolo Bonzini <[email protected]>
Signed-off-by: John Snow <[email protected]>
This commit is contained in:
1 parent
ab861f3915
commit
7f951b2d77
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user