block: extract bdrv_setup_io_funcs()
commit0eb7217e49b84553bb30f97bc34380633fd846fe
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 28 Apr 2015 13:27:51 +0000 (28 14:27 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Apr 2015 13:36:17 +0000 (28 15:36 +0200)
tree1985de5f1a30ed6c4f15aef4baa4ad9e2d568eb4
parente0c47b6cb1de430fbc6f828f7acffa851c580840
block: extract bdrv_setup_io_funcs()

Move the code to install coroutine and aio emulation function pointers
in a BlockDriver to its own function.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
include/block/block_int.h