From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBENd-0002pT-1v for qemu-devel@nongnu.org; Fri, 12 Dec 2008 15:12:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBENb-0002o0-J9 for qemu-devel@nongnu.org; Fri, 12 Dec 2008 15:12:56 -0500 Received: from [199.232.76.173] (port=55852 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBENa-0002nk-WE for qemu-devel@nongnu.org; Fri, 12 Dec 2008 15:12:55 -0500 Received: from mx2.redhat.com ([66.187.237.31]:54928) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LBENa-0007K2-8d for qemu-devel@nongnu.org; Fri, 12 Dec 2008 15:12:54 -0500 Message-ID: <4942C5C1.9080107@redhat.com> Date: Fri, 12 Dec 2008 21:12:49 +0100 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [RFC] Replace posix-aio with custom thread pool References: <49400F69.8080707@codemonkey.ws> <20081210190810.GG18814@random.random> <20081212142435.GL6809@random.random> <494276CD.6060904@codemonkey.ws> <20081212154418.GM6809@random.random> <49429629.20309@codemonkey.ws> <20081212170916.GO6809@random.random> <49429EA3.8070008@codemonkey.ws> <20081212175213.GP6809@random.random> <4942AAD6.1090408@codemonkey.ws> <20081212182634.GQ6809@random.random> In-Reply-To: <20081212182634.GQ6809@random.random> 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: Andrea Arcangeli Cc: qemu-devel@nongnu.org, kvm-devel Andrea Arcangeli wrote: > On Fri, Dec 12, 2008 at 12:17:58PM -0600, Anthony Liguori wrote: >> You assume that anything using bdrv_aio_readv/writev will be going through >> a DMA API. This isn't a safe assumption. > > Well it's obviously a safe assumption right now... ;) Well, the xen block backend in my xen patch queue calls bdrv_* directly right now. Dunno whenever it is possible/useful to fit the grant table stuff into the upcoming dma api somehow. cheers, Gerd