summaryrefslogtreecommitdiff
path: root/qemu-nbd.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2016-05-06 10:26:41 -0600
committerKevin Wolf <kwolf@redhat.com>2016-05-12 15:22:09 +0200
commit26a122d3d47205969ca9e4cdba13adc2b2929d8c (patch)
tree7ca7faa1ea0a27a5e5804f6abb212dce4aa66dab /qemu-nbd.c
parent243e6f69c129303cb7f161466e989722e9d7e02f (diff)
downloadqemu-26a122d3d47205969ca9e4cdba13adc2b2929d8c.tar.gz
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