From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=43546 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PEGb8-0007bz-Oo for qemu-devel@nongnu.org; Fri, 05 Nov 2010 03:20:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PEGb7-0001h7-Ic for qemu-devel@nongnu.org; Fri, 05 Nov 2010 03:20:30 -0400 Received: from cantor.suse.de ([195.135.220.2]:60888 helo=mx1.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PEGb7-0001gB-Ci for qemu-devel@nongnu.org; Fri, 05 Nov 2010 03:20:29 -0400 Message-ID: <4CD3B090.9060306@suse.de> Date: Fri, 05 Nov 2010 08:21:52 +0100 From: Hannes Reinecke MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 0/7] scsi and megasas update References: <4C1798FD.8040200@suse.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: "qemu-devel@nongnu.org" , "Nicholas A. Bellinger" On 11/04/2010 09:49 PM, Alexander Graf wrote: >=20 > On 15.06.2010, at 11:15, Hannes Reinecke wrote: >=20 >> Hi all, >> >> I've run an I/O exerciser against the megasas emulation and >> found quite some issues, both with the HBA and the SCSI >> emulation. >> >> - SG_IO returns -EDOM if the internal queue is exhausted; >> we should be mapping this to QUEUE_FULL. >> - Codingstyle fixes for megasas as suggested by blueswirl >> - We should be using the status codes as defined by SAM, >> not the linux ones (which are shifted by one) >> - Each driver has it's own mechanism of storing the >> sense data, so we should be implementing an accessor >> scsi_req_sense() to retrieve it. >> - And, of course, a rather largish megasas update >> >> Patches are relative to nab's qemu-kvm git tree at >> git://git.kernel.org/pub/scm/virt/kvm/nab/qemu-kvm.git >> >> Nab, I think this patchset should make Windows happy. >=20 > Got an updated version? :) Sadly, no. I've got a git repository setup at kernel.org, but so far failed to do anything with it. Real life intercepting as per normal. But on the good side I have the patchset cleaned up to avoid the contested SCSI update. IE the megasas emulation is now using the 'standard' SCSI callback mechanism. I see to have the patchset pushed to kernel.org and will send a pointer then. Cheers, Hannes --=20 Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg GF: Markus Rex, HRB 16746 (AG N=FCrnberg)