From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IxMro-0000lO-MS for qemu-devel@nongnu.org; Wed, 28 Nov 2007 08:22:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IxMrn-0000l6-8H for qemu-devel@nongnu.org; Wed, 28 Nov 2007 08:22:16 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxMrm-0000kz-VS for qemu-devel@nongnu.org; Wed, 28 Nov 2007 08:22:15 -0500 Received: from ecfrec.frec.bull.fr ([129.183.4.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IxMrm-0001NN-It for qemu-devel@nongnu.org; Wed, 28 Nov 2007 08:22:15 -0500 Received: from localhost (localhost [127.0.0.1]) by ecfrec.frec.bull.fr (Postfix) with ESMTP id 8B3C319D9F5 for ; Wed, 28 Nov 2007 14:21:34 +0100 (CET) Received: from ecfrec.frec.bull.fr ([127.0.0.1]) by localhost (ecfrec.frec.bull.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13434-06 for ; Wed, 28 Nov 2007 14:21:30 +0100 (CET) Received: from ecn002.frec.bull.fr (ecn002.frec.bull.fr [129.183.4.6]) by ecfrec.frec.bull.fr (Postfix) with ESMTP id 6A86519D9E3 for ; Wed, 28 Nov 2007 14:21:27 +0100 (CET) In-Reply-To: Date: Wed, 28 Nov 2007 14:23:34 +0100 Message-Id: <1196256214740@bull.net> Mime-Version: 1.0 From: Laurent Vivier Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Subject: [Qemu-devel] [PATCH 0/3] Real SCSI device passthrough Reply-To: Laurent Vivier , qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel@nongnu.org This series of patches allows to connect real SCSI device to the virtual SCSI controller of Qemu using the SCSI Generic interface (/dev/sg) for instance: qemu -hda my_disk.qcow2 -drive file=3D/dev/sg3,if=3Dscsi [PATCH 1/3] SG support (Synchronous I/O) This patch allows to connect the virtual SCSI interface of Qemu=20 to a real SCSI device of the host. it uses synchronous SCSI I/O. [PATCH 2/3] SG support (Asynchronous Read/Write) This patch modifies scsi_read_data() and scsi_write_data() to use=20 asynchronous I/O.=20 [PATCH 3/3] SG support (Asynchronous Send Command) This patch modifies scsi_send_command() to use asynchronous I/O . Laurent