From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Arcangeli Subject: [PATCH 0 of 5] dma api v3 Date: Fri, 12 Dec 2008 19:16:42 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Gerd Hoffmann , qemu-devel@nongnu.org, kvm@vger.kernel.org, avi@redhat.com, chrisw@redhat.com To: Anthony Liguori Return-path: Received: from mx2.redhat.com ([66.187.237.31]:42804 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758366AbYLLSSU (ORCPT ); Fri, 12 Dec 2008 13:18:20 -0500 Sender: kvm-owner@vger.kernel.org List-ID: Here the lastest patchset of the dma api against qemu svn. It should build and you've only to set the DEBUG_BOUNCE somehow when preadv/pwritev aren't available at compile time. Then you know iovcnt will always be 1 and it'll handle up to size_t amount of dma in flight with 1M buffer (default setting but can be reduced to 512bytes as long as max alignment required by any hardware driver is 512bytes). From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBCan-0005sN-33 for qemu-devel@nongnu.org; Fri, 12 Dec 2008 13:18:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBCaj-0005pS-Jf for qemu-devel@nongnu.org; Fri, 12 Dec 2008 13:18:22 -0500 Received: from [199.232.76.173] (port=48534 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBCai-0005ow-Vd for qemu-devel@nongnu.org; Fri, 12 Dec 2008 13:18:21 -0500 Received: from mx2.redhat.com ([66.187.237.31]:47369) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LBCah-0001OX-V1 for qemu-devel@nongnu.org; Fri, 12 Dec 2008 13:18:20 -0500 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Message-Id: Date: Fri, 12 Dec 2008 19:16:42 +0100 From: Andrea Arcangeli Subject: [Qemu-devel] [PATCH 0 of 5] dma api v3 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: chrisw@redhat.com, avi@redhat.com, Gerd Hoffmann , kvm@vger.kernel.org, qemu-devel@nongnu.org Here the lastest patchset of the dma api against qemu svn. It should build and you've only to set the DEBUG_BOUNCE somehow when preadv/pwritev aren't available at compile time. Then you know iovcnt will always be 1 and it'll handle up to size_t amount of dma in flight with 1M buffer (default setting but can be reduced to 512bytes as long as max alignment required by any hardware driver is 512bytes).