From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=35237 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsY55-0001BH-2x for qemu-devel@nongnu.org; Mon, 06 Sep 2010 05:33:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OsY52-0006f0-US for qemu-devel@nongnu.org; Mon, 06 Sep 2010 05:33:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56009) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsY52-0006eS-OE for qemu-devel@nongnu.org; Mon, 06 Sep 2010 05:33:36 -0400 Message-ID: <4C84B57C.3020403@redhat.com> Date: Mon, 06 Sep 2010 11:33:48 +0200 From: Kevin Wolf MIME-Version: 1.0 References: <1283433095-10755-1-git-send-email-bernhard.kohl@nsn.com> <4C81172B.2010105@redhat.com> <4C84B38E.5080900@nsn.com> In-Reply-To: <4C84B38E.5080900@nsn.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH v2] scsi-disk: add some optional scsi commands List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bernhard Kohl Cc: qemu-devel@nongnu.org Am 06.09.2010 11:25, schrieb Bernhard Kohl: > I use a legacy OS which depends on some optional SCSI commands. > In fact this implementation does nothing special, but provides minimum > support for the following commands: > > REZERO UNIT > WRITE AND VERIFY(10) > WRITE AND VERIFY(12) > WRITE AND VERIFY(16) > MODE SELECT(6) > MODE SELECT(10) > SEEK(6) > SEEK(10) > > Signed-off-by: Bernhard Kohl > --- > hw/scsi-disk.c | 36 +++++++++++++++++++++++++++++++++++- > 1 files changed, 35 insertions(+), 1 deletions(-) > > diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c > index b80c9bd..1446ca6 100644 > --- a/hw/scsi-disk.c > +++ b/hw/scsi-disk.c > @@ -892,6 +892,12 @@ static int scsi_disk_emulate_command(SCSIRequest > *req, uint8_t *outbuf) Sorry to request another version, but this patch is corrupted by line wraps. I think it was right when you sent the first version, did you change anything? Kevin