quorum: Implement .bdrv_co_readv/writev
authorKevin Wolf <kwolf@redhat.com>
Tue, 8 Nov 2016 10:10:14 +0000 (11:10 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 9 Jan 2017 12:30:52 +0000 (13:30 +0100)
commitce15dc08ef13438ba7be75e6887162ad2cc5c6c9
treec96cf018849b2b5426190a33b7f9501c3a7aa76b
parent10c855196837059b5d988557183c8f8392033e52
quorum: Implement .bdrv_co_readv/writev

This converts the quorum block driver from implementing callback-based
interfaces for read/write to coroutine-based ones. This is the first
step that will allow us further simplification of the code.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
block/quorum.c