From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQMuX-0003pa-Ik for qemu-devel@nongnu.org; Fri, 23 Jan 2009 09:21:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQMuT-0003kE-0C for qemu-devel@nongnu.org; Fri, 23 Jan 2009 09:21:28 -0500 Received: from [199.232.76.173] (port=39447 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQMuS-0003ju-Oj for qemu-devel@nongnu.org; Fri, 23 Jan 2009 09:21:24 -0500 Received: from e6.ny.us.ibm.com ([32.97.182.146]:57276) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LQMuS-0001R8-E5 for qemu-devel@nongnu.org; Fri, 23 Jan 2009 09:21:24 -0500 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e6.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n0NELg0Z005361 for ; Fri, 23 Jan 2009 09:21:42 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id n0NELLYm092782 for ; Fri, 23 Jan 2009 09:21:21 -0500 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n0NEKQBB008887 for ; Fri, 23 Jan 2009 09:20:27 -0500 From: Ryan Harper Date: Fri, 23 Jan 2009 08:21:17 -0600 Message-Id: <1232720479-21398-1-git-send-email-ryanh@us.ibm.com> Subject: [Qemu-devel] [PATCH 0/2] LSI53C895A and scsi-disk fixes Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Ryan Harper , kvm@vger.kernel.org While trying to get SLES10 SP2 installed to a scsi disk, I encountered a couple of errors. The first patch just adds support for ISTAT1 register to be read. The second patch handles re-entrance issues present in the lsi driver and scsi-disk. Due to the async/callback structure of the LSI and scsi code, there are situations where lsi_do_command() and scsi_send_command() can nest. Patch2 detects and handle these cases. Applying these two patches allows SLES10 SP2 to function properly. I've tested the scsi changes against Ubuntu 8.04.2, 8.10, RHEL5u2, openSuSE11, FreeBSD 7, Windows XP, Windows XP 64, 2k3 and didn't see any regressions. Signed-off-by: Ryan Harper