diff options
author | Kit Westneat <kit.westneat@gmail.com> | 2021-05-21 14:28:29 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-05-26 14:50:05 +0200 |
commit | b802d14dc6f3fba988baa9804af8f4cf837c6886 (patch) | |
tree | 201ebcf8bd2ebfc372f8986fc09d61745d7df26a /docs/replay.txt | |
parent | 54b0306e6967ae38e248b905ddaa4a3cdbc15322 (diff) |
hw/scsi: Fix sector translation bug in scsi_unmap_complete_noio
check_lba_range expects sectors to be expressed in original qdev blocksize, but
scsi_unmap_complete_noio was translating them to 512 block sizes, which was
causing sense errors in the larger LBAs in devices using a 4k block size.
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/345
Signed-off-by: Kit Westneat <kit.westneat@gmail.com>
Message-Id: <20210521142829.326217-1-kit.westneat@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/replay.txt')
0 files changed, 0 insertions, 0 deletions