Home
last modified time | relevance | path

Searched hist:"26 a122d3d47205969ca9e4cdba13adc2b2929d8c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/ide/
H A Datapi.cdiff 26a122d3d47205969ca9e4cdba13adc2b2929d8c Fri May 06 11:26:41 CDT 2016 Eric Blake <eblake@redhat.com> 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>