Changes since V2: * Print READ CAPACITY(16) debug call at higher log level * Cleanup return statement for CMD_WRITE in src/hw/blockcmd.c:scsi_fill_cmd() * Change format specifier for printing drive->sectors to %llx * Minor commit log spelling/punctuation fixes
Changes since V1: * De-duplicate blksize check and capacity logging * Fix off by 1 error for returned sector count (LBA addresses start from 0).
Max Tottenham (1): Add LBA 64bit support for reads beyond 2TB.
src/hw/blockcmd.c | 58 +++++++++++++++++++++++++++++++++++------------ src/hw/blockcmd.h | 27 ++++++++++++++++++++++ 2 files changed, 71 insertions(+), 14 deletions(-)