]> git.proxmox.com Git - qemu.git/commit
block: add bdrv_get_aio_context()
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 7 Mar 2013 12:41:48 +0000 (13:41 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 15 Mar 2013 15:07:51 +0000 (16:07 +0100)
commit85d126f3ee666702ac514c66606c62d276c4341c
treef133791f34717ba10ebf0b87ab57d2a3ec80a451
parent9b34277d23a6fb15eb9513006c96d8026beeea1f
block: add bdrv_get_aio_context()

For now bdrv_get_aio_context() is just a stub that calls
qemu_aio_get_context() since the block layer is currently tied to the
main loop AioContext.

Add the stub now so that the block layer can begin accessing its
AioContext.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
block.c
include/block/block_int.h