]> git.ipfire.org Git - thirdparty/qemu.git/commit - block.c
block: split out bdrv_co_do_readv() and bdrv_co_do_writev()
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Wed, 5 Oct 2011 16:17:03 +0000 (17:17 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 13 Oct 2011 13:02:53 +0000 (15:02 +0200)
commitc5fbe57111ef59c315a71cd80e8b0af59e36ff21
tree9f158e5bd9c3464a4444bd4888191d01fdb4ac45
parent1ed20acf2f581480436fb621995ef7c18fa75fad
block: split out bdrv_co_do_readv() and bdrv_co_do_writev()

The public interface for I/O in coroutine context is bdrv_co_readv() and
bdrv_co_writev().  Split out the request processing code into
bdrv_co_do_readv() and bdrv_co_writev() so that it can be called
internally when we refactor all request processing to use coroutines.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c