[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/8] ide: Remove wrong assertion
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 2/8] ide: Remove wrong assertion |
Date: |
Fri, 18 Jan 2013 17:28:35 +0100 |
From: Kevin Wolf <address@hidden>
The Bus Master IDE Active bit (BM_STATUS_DMAING) is not only set when
the request is still in flight, but also when it has completed and the
size of the physical memory regions in the PRDT was larger than the
transfer size.
Signed-off-by: Kevin Wolf <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
hw/ide/pci.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/hw/ide/pci.c b/hw/ide/pci.c
index e6226e3..59fd539 100644
--- a/hw/ide/pci.c
+++ b/hw/ide/pci.c
@@ -311,7 +311,6 @@ void bmdma_cmd_writeb(BMDMAState *bm, uint32_t val)
if (bm->bus->dma->aiocb) {
bdrv_drain_all();
assert(bm->bus->dma->aiocb == NULL);
- assert((bm->status & BM_STATUS_DMAING) == 0);
}
} else {
bm->cur_addr = bm->addr;
--
1.8.0.2
- [Qemu-devel] [PULL for-1.4 0/8] Block patches, Stefan Hajnoczi, 2013/01/18
- [Qemu-devel] [PATCH 2/8] ide: Remove wrong assertion,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 1/8] block: fix null-pointer bug on error case in block commit, Stefan Hajnoczi, 2013/01/18
- [Qemu-devel] [PATCH 4/8] win32-aio: Fix vectored reads, Stefan Hajnoczi, 2013/01/18
- [Qemu-devel] [PATCH 5/8] win32-aio: Fix memory leak, Stefan Hajnoczi, 2013/01/18
- [Qemu-devel] [PATCH 6/8] win32-aio: use iov utility functions instead of open-coding them, Stefan Hajnoczi, 2013/01/18
- [Qemu-devel] [PATCH 3/8] aio: Fix return value of aio_poll(), Stefan Hajnoczi, 2013/01/18
- [Qemu-devel] [PATCH 7/8] dataplane: avoid reentrancy during virtio_blk_data_plane_stop(), Stefan Hajnoczi, 2013/01/18
- [Qemu-devel] [PATCH 8/8] dataplane: support viostor virtio-pci status bit setting, Stefan Hajnoczi, 2013/01/18
- Re: [Qemu-devel] [PULL for-1.4 0/8] Block patches, Anthony Liguori, 2013/01/20