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).