blkverify: Implement bdrv_co_preadv/pwritev/flush
commit44b6789299a8acca3f25331bc411055cafc7bb06
authorKevin Wolf <kwolf@redhat.com>
Fri, 4 Nov 2016 20:13:45 +0000 (4 21:13 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 9 Jan 2017 12:30:52 +0000 (9 13:30 +0100)
tree25df981237c8d8dafb9571bd139ec991d32524f6
parent7c3a998531da0a77baaa2a6ccb48b8a7b5eb14d5
blkverify: Implement bdrv_co_preadv/pwritev/flush

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

The reference output of a test case must be changed because the
verification failure message reports byte offsets instead of sectors
now.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block/blkverify.c
tests/qemu-iotests/071.out