Skip to content
Snippets Groups Projects
Commit 890e48d7 authored by Mark Cave-Ayland's avatar Mark Cave-Ayland Committed by Peter Maydell
Browse files

scsi-disk: fix reads from scsi-disk devices


Commit fcaafb10 accidentally broke reads from
scsi-disk devices when being updated from its original form to use the new
byte-based block functions. Add the extra missing sector to offset conversion
in order to restore read functionality.

Signed-off-by: default avatarMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Tested-by: default avatarxiaoqiang zhao <zxq_yx_007@163.com>
Message-id: 1464931021-25117-1-git-send-email-mark.cave-ayland@ilande.co.uk
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent 8625c3ff
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment