All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Artyom Tarasenko <atar4qemu@googlemail.com>
Cc: Blue Swirl <blauwirbel@gmail.com>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] scsi-disk: Inquiry with allocation length of CDB < 36
Date: Tue, 27 Oct 2009 13:03:42 -0500	[thread overview]
Message-ID: <4AE735FE.3080806@codemonkey.ws> (raw)
In-Reply-To: <fb8d4f70910260636j74e11d89o9ad1fe274f98421f@mail.gmail.com>

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 <atar4qemu@gmail.com>
>   

This patch is whitespace damaged.

Regards,

Anthony Liguori

  reply	other threads:[~2009-10-27 18:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-26 13:36 [Qemu-devel] [PATCH] scsi-disk: Inquiry with allocation length of CDB < 36 Artyom Tarasenko
2009-10-27 18:03 ` Anthony Liguori [this message]
2009-10-27 18:09   ` Artyom Tarasenko
2009-10-28 11:31     ` Artyom Tarasenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AE735FE.3080806@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=atar4qemu@googlemail.com \
    --cc=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.