aboutsummaryrefslogtreecommitdiff
path: root/hw/sun4m.c
diff options
context:
space:
mode:
authorArtyom Tarasenko <atar4qemu@googlemail.com>2009-12-13 11:32:36 +0100
committerBlue Swirl <blauwirbel@gmail.com>2009-12-13 10:55:04 +0000
commitad3cea42487c4f23aa60825efa8eaf949ea71aac (patch)
treed789eef3289a77aa464a29602cf9ab53b24faef3 /hw/sun4m.c
parentf062a3c793612a4107eb36d59781b805fb3fe4c6 (diff)
downloadqemu-ad3cea42487c4f23aa60825efa8eaf949ea71aac.zip
qemu-ad3cea42487c4f23aa60825efa8eaf949ea71aac.tar.gz
qemu-ad3cea42487c4f23aa60825efa8eaf949ea71aac.tar.bz2
scsi-disk: Inquiry with allocation length of CDB < 36 (v4)
According to the SCSI-2 specification, http://ldkelley.com/SCSI2/SCSI2/SCSI2/SCSI2-08.html#8.2.5 , "if the allocation length of the command descriptor block (CDB) is too small to transfer all of the parameters, the additional length shall not be adjusted to reflect the truncation." The 36 mandatory bytes of response are written to outbuf, and then only the length requested in CDB is transferred. Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/sun4m.c')
0 files changed, 0 insertions, 0 deletions