summaryrefslogtreecommitdiff
path: root/include/block/block_int.h
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-05-15 19:22:05 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2014-06-04 09:56:12 +0200
commitdb519cba8713fb49aa5233e8debe61dccdd3a57f (patch)
tree152e280577afef3f4ab085e36f4dbdd9429aafec /include/block/block_int.h
parent76ef2cf5493a215efc351f48ae7094d6c183fcac (diff)
downloadqemu-db519cba8713fb49aa5233e8debe61dccdd3a57f.tar.gz
block: Move declaration of bdrv_get_aio_context to block.h
block_int.h is for block layer and block drivers, other code shouldn't include it. But similar to bdrv_set_aio_context, bdrv_get_aio_context should also be accessible from outside of block layer. Move it. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/block/block_int.h')
-rw-r--r--include/block/block_int.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h
index 93ec86f3f7..8d58334c1d 100644
--- a/include/block/block_int.h
+++ b/include/block/block_int.h
@@ -405,13 +405,6 @@ void bdrv_add_before_write_notifier(BlockDriverState *bs,
NotifierWithReturn *notifier);
/**
- * bdrv_get_aio_context:
- *
- * Returns: the currently bound #AioContext
- */
-AioContext *bdrv_get_aio_context(BlockDriverState *bs);
-
-/**
* bdrv_detach_aio_context:
*
* May be called from .bdrv_detach_aio_context() to detach children from the