Revision 2860e3eb hw/ide/pci.c

b/hw/ide/pci.c
296 296
             */
297 297
            if (bm->bus->dma->aiocb) {
298 298
                qemu_aio_flush();
299
#ifdef DEBUG_IDE
300
                if (bm->bus->dma->aiocb)
301
                    printf("ide_dma_cancel: aiocb still pending\n");
302
                if (bm->status & BM_STATUS_DMAING)
303
                    printf("ide_dma_cancel: BM_STATUS_DMAING still pending\n");
304
#endif
299
                assert(bm->bus->dma->aiocb == NULL);
300
                assert((bm->status & BM_STATUS_DMAING) == 0);
305 301
            }
306 302
        } else {
307 303
            bm->cur_addr = bm->addr;

Also available in: Unified diff