]> git.proxmox.com Git - mirror_qemu.git/commit
block: Switch BlockRequest to byte-based
authorEric Blake <eblake@redhat.com>
Fri, 15 Jul 2016 23:22:52 +0000 (17:22 -0600)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 20 Jul 2016 13:11:55 +0000 (14:11 +0100)
commitb15404e0273e20baddcbbc1e8915f2e9ee9b117b
treeca6c9de42c059fafd6dfe25cb5293d5177d11cfe
parent0c51a893b643bc9393c685b47b9cea1e6831565f
block: Switch BlockRequest to byte-based

BlockRequest is the internal struct used by bdrv_aio_*.  At the
moment, all such calls were sector-based, but we will eventually
convert to byte-based; start by changing the internal variables
to be byte-based.  No change to behavior, although the read and
write code can now go byte-based through more of the stack.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-id: 1468624988-423-4-git-send-email-eblake@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/io.c