diff options
author | Eric Blake <eblake@redhat.com> | 2016-05-06 10:26:41 -0600 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-05-12 15:22:09 +0200 |
commit | 26a122d3d47205969ca9e4cdba13adc2b2929d8c (patch) | |
tree | 7ca7faa1ea0a27a5e5804f6abb212dce4aa66dab /qemu-nbd.c | |
parent | 243e6f69c129303cb7f161466e989722e9d7e02f (diff) | |
download | qemu-26a122d3d47205969ca9e4cdba13adc2b2929d8c.tar.gz qemu-26a122d3d47205969ca9e4cdba13adc2b2929d8c.tar.bz2 qemu-26a122d3d47205969ca9e4cdba13adc2b2929d8c.zip |
atapi: Switch to byte-based block access
Sector-based blk_read() should die; switch to byte-based
blk_pread() instead.
Add new defines ATAPI_SECTOR_BITS and ATAPI_SECTOR_SIZE to
use anywhere we were previously scaling BDRV_SECTOR_* by 4,
for better legibility.
Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-nbd.c')
0 files changed, 0 insertions, 0 deletions