From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N6Xw1-0005eb-Uq for qemu-devel@nongnu.org; Fri, 06 Nov 2009 18:09:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N6Xvw-0005a0-OJ for qemu-devel@nongnu.org; Fri, 06 Nov 2009 18:09:37 -0500 Received: from [199.232.76.173] (port=44969 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6Xvw-0005Zu-JS for qemu-devel@nongnu.org; Fri, 06 Nov 2009 18:09:32 -0500 Received: from mx1.redhat.com ([209.132.183.28]:20393) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N6Xvw-00038r-4o for qemu-devel@nongnu.org; Fri, 06 Nov 2009 18:09:32 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nA6N9Tg7012827 for ; Fri, 6 Nov 2009 18:09:29 -0500 Received: from zweiblum.home.kraxel.org (vpn2-10-125.ams2.redhat.com [10.36.10.125]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nA6N9RC6014971 for ; Fri, 6 Nov 2009 18:09:28 -0500 Message-ID: <4AF4ACA5.2090701@redhat.com> Date: Sat, 07 Nov 2009 00:09:25 +0100 From: Gerd Hoffmann MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [sneak preview] major scsi overhaul List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "qemu-devel@nongnu.org" Hi, http://repo.or.cz/w/qemu/kraxel.git/shortlog/refs/heads/scsi.v6 What is in there? (1) Reworked scsi data structures. There is a SCSIRequest struct now. (2) Restructed emulation in the scsi-disk driver. (3) New interface for HBA <=> SCSIDevice interaction: * building on the new SCSIRequest struct. * the silly read_data/write_data ping-pong game is gone. * support for scatter lists and zerocopy I/O is there. (4) Added support for the new interface to scsi-disk and scsi-generic. (5) Switched esp and usb-storage to the new interface. * fixed usb-storage state engine along the way. And, no, a backport to stable isn't going to happen. With the new interface state tracking is simpler and easier to get right. (6) A bunch of misc fixes and improvements. What needs to be done? (1) Better patch descriptions. (2) Submit patches to the list for review. (3) Switch over lsi to the new interface. (4) Zap old interface, killing tons of dead code. (5) Final cleanups. Why should you have a look? * You want use usb-storage. - works rock-solid now for me, it didn't before. * You are writing a megaraid-sas HBA. * You are writing a virtio-scsi HBA. * You are considering to merge this for 0.12 cheers, Gerd