]> git.proxmox.com Git - mirror_qemu.git/commit - block/blkdebug.c
blkdebug: Implement bdrv_co_preadv/pwritev/flush
authorKevin Wolf <kwolf@redhat.com>
Fri, 4 Nov 2016 20:13:45 +0000 (21:13 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 9 Jan 2017 12:30:52 +0000 (13:30 +0100)
commit7c3a998531da0a77baaa2a6ccb48b8a7b5eb14d5
treedbca07dd58eed50a8db38b4078bd0e43c59b7eed
parent7c37f941d028e2a1bf350ffb292684f2e1a292c7
blkdebug: Implement bdrv_co_preadv/pwritev/flush

This enables byte granularity requests for blkdebug, and at the same
time gets us rid of another user of the BDS-level AIO emulation.

Note that unless align=512 is specified, this can behave subtly
different from the old behaviour because bdrv_co_preadv/pwritev don't
have to perform alignment adjustments any more.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block/blkdebug.c