qcow: Switch to a byte-based driver
commit609841a3f8cb1761380032b7bbccb438abb8290f
authorEric Blake <eblake@redhat.com>
Thu, 28 Jun 2018 20:15:22 +0000 (28 15:15 -0500)
committerKevin Wolf <kwolf@redhat.com>
Fri, 29 Jun 2018 12:20:56 +0000 (29 14:20 +0200)
tree153b10ac70edd825bf6776a0f8f0f47ebbad24a5
parentd1326a786d471840b9055af53a7aa57c2e6d858c
qcow: Switch to a byte-based driver

We are gradually moving away from sector-based interfaces, towards
byte-based.  The qcow driver is now ready to fully utilize the
byte-based callback interface, as long as we override the default
alignment to still be 512 (needed at least for asserts present
because of encryption, but easier to do everywhere than to audit
which sub-sector requests are handled correctly, especially since
we no longer recommend qcow for new disk images).

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