]> git.ipfire.org Git - thirdparty/qemu.git/commit
parallels: Switch to byte-based calls
authorEric Blake <eblake@redhat.com>
Thu, 28 Jun 2018 20:15:18 +0000 (15:15 -0500)
committerKevin Wolf <kwolf@redhat.com>
Fri, 29 Jun 2018 12:20:56 +0000 (14:20 +0200)
commitd08c2a245feb6ab82b5a044f72c75964eedeaef5
tree7a2d71da2d30f8059e3e3590c7d7618b562478d7
parentc436e3d0145a3952aacf1a4014434b82d7157633
parallels: Switch to byte-based calls

We are gradually moving away from sector-based interfaces, towards
byte-based.  Make the change for the last few sector-based calls
into the block layer from the parallels driver.

Ideally, the parallels driver should switch to doing everything
byte-based, but that's a more invasive change that requires a
bit more auditing.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/parallels.c