[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] scsi-disk: Inquiry with allocation length of CD
From: |
Artyom Tarasenko |
Subject: |
Re: [Qemu-devel] [PATCH] scsi-disk: Inquiry with allocation length of CDB < 36 |
Date: |
Tue, 27 Oct 2009 19:09:15 +0100 |
2009/10/27 Anthony Liguori <address@hidden>:
> Artyom Tarasenko wrote:
>>
>> According to 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 <address@hidden>
>>
>
> This patch is whitespace damaged.
Also the attached one? I tried to keep the original identation: used
tabs where the tabs originally were.