From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JHmb8-0001y2-Mj for qemu-devel@nongnu.org; Wed, 23 Jan 2008 15:53:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JHmb7-0001ws-5i for qemu-devel@nongnu.org; Wed, 23 Jan 2008 15:53:26 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHmb6-0001wl-Vg for qemu-devel@nongnu.org; Wed, 23 Jan 2008 15:53:25 -0500 Received: from neuf-infra-smtp-out-sp604007av.neufgp.fr ([84.96.92.120]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JHmb6-0005jn-BC for qemu-devel@nongnu.org; Wed, 23 Jan 2008 15:53:24 -0500 Message-ID: <4797A90B.8070703@bellard.org> Date: Wed, 23 Jan 2008 21:52:27 +0100 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 0/5] SCSI passthrough cleanup References: <12011047731303@bull.net> In-Reply-To: <12011047731303@bull.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier , qemu-devel@nongnu.org Two questions: - Why do you use AIO ? If the Linux sg device supports selects, then using the QEMU select() callback suffices. - Why do you use a block device ? Regards, Fabrice. Laurent Vivier wrote: > This series of patches makes some cleanups in SCSI passthrough and > add functionnalities. > > [PATCH 1/5] reverse scsi-generic > > Reverse previous implementation and restore block-raw-posix.c. > > [PATCH 2/5] Move AIO > > This patche moves raw AIO part from block-raw-posix.c to qemu-aio-raw.c. > > [PATCH 3/5] Add block SG interface > > This patch re-implement scsi-generic.c using a new block interface. > > [PATCH 4/5] DVD movie support > > This patch allows to read a protected/encrypted movie from a DVD. > > [PATCH 5/5] SCSI device DMA split > > This patch allows to split a READ or WRITE into several READ or WRITE. > > Laurent > > > > >