aboutsummaryrefslogtreecommitdiff
path: root/block.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-03-12 17:01:48 +0100
committerKevin Wolf <kwolf@redhat.com>2012-04-05 14:54:39 +0200
commit85e8dab1efc7228bb674e72f6fb3be78c1e883bf (patch)
treeedae0953f84c27d1c2f2f0fdfd5b1f7a6efe6ea0 /block.h
parent29cdb2513c3f22f51d6f3585b41009576485cb35 (diff)
downloadqemu-85e8dab1efc7228bb674e72f6fb3be78c1e883bf.zip
qemu-85e8dab1efc7228bb674e72f6fb3be78c1e883bf.tar.gz
qemu-85e8dab1efc7228bb674e72f6fb3be78c1e883bf.tar.bz2
aio: move BlockDriverAIOCB to qemu-aio.h
And remove several block_int.h inclusions that should not be there. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block.h')
-rw-r--r--block.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/block.h b/block.h
index 415bb17..e670606 100644
--- a/block.h
+++ b/block.h
@@ -180,8 +180,6 @@ typedef struct BdrvCheckResult {
int bdrv_check(BlockDriverState *bs, BdrvCheckResult *res);
/* async block I/O */
-typedef struct BlockDriverAIOCB BlockDriverAIOCB;
-typedef void BlockDriverCompletionFunc(void *opaque, int ret);
typedef void BlockDriverDirtyHandler(BlockDriverState *bs, int64_t sector,
int sector_num);
BlockDriverAIOCB *bdrv_aio_readv(BlockDriverState *bs, int64_t sector_num,