diff options
| author | Eric Blake | 2016-05-06 18:26:44 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2016-05-12 15:22:09 +0200 |
| commit | 7b3f9712e1b64bd811ac3657fc1cb05f9e3f5d87 (patch) | |
| tree | efc5290687dc7be1ea0fb6386e056f1a44474851 /include | |
| parent | qemu-img: Switch to byte-based block access (diff) | |
| download | qemu-7b3f9712e1b64bd811ac3657fc1cb05f9e3f5d87.tar.gz qemu-7b3f9712e1b64bd811ac3657fc1cb05f9e3f5d87.tar.xz qemu-7b3f9712e1b64bd811ac3657fc1cb05f9e3f5d87.zip | |
qemu-io: Switch to byte-based block access
qemu-io is the last user of several sector-based interfaces.
This patch upgrades to the new interfaces under the hood,
then deletes the resulting dead code. Note that for maximum
back-compat, while the -p option is no longer required to get
blk_pread(), it is still needed to allow for unaligned access;
this is because qemu-iotest 23 relies on qemu-io rejecting
unaligned accesses without -p. A later patch may clean up the
interface to be more user-friendly, but it's better to separate
what's done under the hood from what the user sees.
Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
