From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:39483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJpoG-0002B0-TP for qemu-devel@nongnu.org; Fri, 28 Oct 2011 13:01:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJpoF-0001lV-Lc for qemu-devel@nongnu.org; Fri, 28 Oct 2011 13:01:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJpoF-0001lQ-CJ for qemu-devel@nongnu.org; Fri, 28 Oct 2011 13:01:35 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p9SH1YZ6018808 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 28 Oct 2011 13:01:34 -0400 Message-ID: <4EAAE0A9.2090209@redhat.com> Date: Fri, 28 Oct 2011 19:04:41 +0200 From: Kevin Wolf MIME-Version: 1.0 References: <1319540020-32484-1-git-send-email-pbonzini@redhat.com> <1319540020-32484-6-git-send-email-pbonzini@redhat.com> In-Reply-To: <1319540020-32484-6-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 5/8] scsi-disk: add scsi-block for device passthrough List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org Am 25.10.2011 12:53, schrieb Paolo Bonzini: > Signed-off-by: Paolo Bonzini > --- > hw/scsi-disk.c | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 files changed, 118 insertions(+), 0 deletions(-) This has lost its commit message since the last version. I'll pick it from there: scsi-block is a new device that supports device passthrough of Linux block devices (i.e. /dev/sda, not /dev/sg0). It uses SG_IO for commands other than I/O commands, and regular AIO read/writes for I/O commands. Besides being simpler to configure (no mapping required to scsi-generic device names), this removes the need for a large bounce buffer and, in the future, will get scatter/gather support for free from scsi-disk. Kevin