From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Wolf Subject: Re: [PATCH] lsi53c895a: Add support for OS/2 Warp SYM8XX.ADD driver Date: Thu, 07 Oct 2010 12:59:42 +0200 Message-ID: <4CADA81E.6070708@redhat.com> References: <1285823236-6661-1-git-send-email-nab@linux-iscsi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Paul Brook , Jan Kiszka , Gerd Hoffmann , Hannes Reinecke , FUJITA Tomonori , Matthew Wilcox , kvm-devel , qemu-devel To: "Nicholas A. Bellinger" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:43376 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751690Ab0JGK7m (ORCPT ); Thu, 7 Oct 2010 06:59:42 -0400 In-Reply-To: <1285823236-6661-1-git-send-email-nab@linux-iscsi.org> Sender: kvm-owner@vger.kernel.org List-ID: Am 30.09.2010 07:07, schrieb Nicholas A. Bellinger: > From: Nicholas Bellinger > > Greetings Paul, Jan, Kevin and co, > > This series is against my v0.12.5 qemu-kvm.git that contains QEMU SCSI layer > SGL passthrough from Gerd Hoffman, 8708EM2 MegaSas emulation from Dr. Hannes > Reinecke, and well as my own hw/scsi-bsg.c support. This tree is located here: > > http://git.kernel.org/?p=virt/kvm/nab/qemu-kvm.git;a=summary > > This first patch adds a missing qdev->reset() NOP caller in hw/scsi-generic.c that > is now expected by lsi53c895a.c in >= v0.12.5 code. You will want to apply this to > all >= v0.12.5 QEMU trees so scsi-generic does not segfault with lsi53c895a expecting > a valid qdev->reset(). This one should already be fixed with Bernhard Kohl's commit f8b6d672, right? (Should have reached git master about two weeks ago) > The second item is a bit more exotic.. 8-) So I have been thinking about how to get > qemu-kvm.git scsi-generic <-> TCM_Loop to function with OS/2 Warp v4 (SP15) in guest > for a while now, and I am happy to report that after sending some time in the last weeks > getting OS/2 setup (hey, it has been +13 years) and finding a functioning sym53c895a > driver, and finally finding a working SYM8XX.ADD and being able to fill in missing > informational registers and adding a workaround to fix a bogus Destination ID register > WRITE from the now +10 year old SYM8XX.ADD driver code. > > Here are some screenshots of the patch in action: > > *) Booting with BASEDEV=SYM8XX.ADD /V: > > http://linux-iscsi.org/index.php/Image:TCM_Loop-OS2Warp-QEMU-KVM-boot.png > > *) TCM_loop <-> LIO-ORG SPC-3 LUN from KVM Host in the OS/2 Workplace shell! > > http://linux-iscsi.org/index.php/Image:TCM_Loop-OS2Warp-QEMU-KVM-running.png Nice. :-) Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44648 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3oCJ-0003FC-QC for qemu-devel@nongnu.org; Thu, 07 Oct 2010 06:59:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3oCI-0003F4-0m for qemu-devel@nongnu.org; Thu, 07 Oct 2010 06:59:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55587) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3oCH-0003Ed-Pl for qemu-devel@nongnu.org; Thu, 07 Oct 2010 06:59:37 -0400 Message-ID: <4CADA81E.6070708@redhat.com> Date: Thu, 07 Oct 2010 12:59:42 +0200 From: Kevin Wolf MIME-Version: 1.0 References: <1285823236-6661-1-git-send-email-nab@linux-iscsi.org> In-Reply-To: <1285823236-6661-1-git-send-email-nab@linux-iscsi.org> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] lsi53c895a: Add support for OS/2 Warp SYM8XX.ADD driver List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Nicholas A. Bellinger" Cc: Gerd Hoffmann , kvm-devel , Jan Kiszka , qemu-devel , FUJITA Tomonori , Hannes Reinecke , Matthew Wilcox , Paul Brook Am 30.09.2010 07:07, schrieb Nicholas A. Bellinger: > From: Nicholas Bellinger > > Greetings Paul, Jan, Kevin and co, > > This series is against my v0.12.5 qemu-kvm.git that contains QEMU SCSI layer > SGL passthrough from Gerd Hoffman, 8708EM2 MegaSas emulation from Dr. Hannes > Reinecke, and well as my own hw/scsi-bsg.c support. This tree is located here: > > http://git.kernel.org/?p=virt/kvm/nab/qemu-kvm.git;a=summary > > This first patch adds a missing qdev->reset() NOP caller in hw/scsi-generic.c that > is now expected by lsi53c895a.c in >= v0.12.5 code. You will want to apply this to > all >= v0.12.5 QEMU trees so scsi-generic does not segfault with lsi53c895a expecting > a valid qdev->reset(). This one should already be fixed with Bernhard Kohl's commit f8b6d672, right? (Should have reached git master about two weeks ago) > The second item is a bit more exotic.. 8-) So I have been thinking about how to get > qemu-kvm.git scsi-generic <-> TCM_Loop to function with OS/2 Warp v4 (SP15) in guest > for a while now, and I am happy to report that after sending some time in the last weeks > getting OS/2 setup (hey, it has been +13 years) and finding a functioning sym53c895a > driver, and finally finding a working SYM8XX.ADD and being able to fill in missing > informational registers and adding a workaround to fix a bogus Destination ID register > WRITE from the now +10 year old SYM8XX.ADD driver code. > > Here are some screenshots of the patch in action: > > *) Booting with BASEDEV=SYM8XX.ADD /V: > > http://linux-iscsi.org/index.php/Image:TCM_Loop-OS2Warp-QEMU-KVM-boot.png > > *) TCM_loop <-> LIO-ORG SPC-3 LUN from KVM Host in the OS/2 Workplace shell! > > http://linux-iscsi.org/index.php/Image:TCM_Loop-OS2Warp-QEMU-KVM-running.png Nice. :-) Kevin