[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH v2 4/6] ide: replace blk_drain_all by blk_drain
From: |
John Snow |
Subject: |
[Qemu-block] [PATCH v2 4/6] ide: replace blk_drain_all by blk_drain |
Date: |
Tue, 19 Jan 2016 12:39:49 -0500 |
Target the drain for just one device.
Signed-off-by: John Snow <address@hidden>
---
hw/ide/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/ide/core.c b/hw/ide/core.c
index 7d32266..cf0b5ec 100644
--- a/hw/ide/core.c
+++ b/hw/ide/core.c
@@ -648,7 +648,7 @@ void ide_cancel_dma_sync(IDEState *s)
#ifdef DEBUG_IDE
printf("%s: draining all remaining requests", __func__);
#endif
- blk_drain_all();
+ blk_drain(s->blk);
assert(s->bus->dma->aiocb == NULL);
}
}
--
2.4.3
- [Qemu-block] [PATCH v2 0/6] ide: fix atapi software reset, John Snow, 2016/01/19
- [Qemu-block] [PATCH v2 1/6] ide: Prohibit RESET on IDE drives, John Snow, 2016/01/19
- [Qemu-block] [PATCH v2 2/6] ide: code motion, John Snow, 2016/01/19
- [Qemu-block] [PATCH v2 4/6] ide: replace blk_drain_all by blk_drain,
John Snow <=
- [Qemu-block] [PATCH v2 5/6] ide: Add silent DRQ cancellation, John Snow, 2016/01/19
- [Qemu-block] [PATCH v2 3/6] ide: move buffered DMA cancel to core, John Snow, 2016/01/19
- [Qemu-block] [PATCH v2 6/6] ide: fix device_reset to not ignore pending AIO, John Snow, 2016/01/19
- Re: [Qemu-block] [Qemu-devel] [PATCH v2 0/6] ide: fix atapi software reset, John Snow, 2016/01/26