]> git.proxmox.com Git - qemu.git/commit - block.c
block: Emulate AIO functions with bdrv_co_readv/writev
authorKevin Wolf <kwolf@redhat.com>
Thu, 30 Jun 2011 08:05:46 +0000 (10:05 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 2 Aug 2011 13:53:40 +0000 (15:53 +0200)
commit68485420187094c26f86faee5c7f68b5d6a03603
treed28498a7e860f5b4ae1e93e8b502d8c6ddfb5880
parentda1fa91d6cca8a6d3da9c2b222fa485429db297c
block: Emulate AIO functions with bdrv_co_readv/writev

Use the bdrv_co_readv/writev callbacks to implement bdrv_aio_readv/writev and
bdrv_read/write if a driver provides the coroutine version instead of the
synchronous or AIO version.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c