From c16b5a2ca0b186de618654a576bdad9cdd2d1ab2 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Mon, 25 May 2009 12:37:32 +0200 Subject: fully split aio_pool from BlockDriver Now that we have a separate aio pool structure we can remove those aio pool details from BlockDriver. Every driver supporting AIO now needs to declare a static AIOPool with the aiocb size and the cancellation method. This cleans up the current code considerably and will make it cleaner and more obvious to support two different aio implementations behind a single BlockDriver. Signed-off-by: Christoph Hellwig Signed-off-by: Anthony Liguori --- dma.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'dma.h') diff --git a/dma.h b/dma.h index 4fd80b972..f3bb27515 100644 --- a/dma.h +++ b/dma.h @@ -38,6 +38,4 @@ BlockDriverAIOCB *dma_bdrv_read(BlockDriverState *bs, BlockDriverAIOCB *dma_bdrv_write(BlockDriverState *bs, QEMUSGList *sg, uint64_t sector, BlockDriverCompletionFunc *cb, void *opaque); -void dma_helper_init(void); - #endif -- cgit v1.2.3-65-gdbad