From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [Qemu-devel] [PATCH 2 of 5] add can_dma/post_dma for direct IO Date: Fri, 12 Dec 2008 14:10:02 -0600 Message-ID: <4942C51A.4030601@codemonkey.ws> References: <4942B913.8010306@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, chrisw@redhat.com, Gerd Hoffmann , kvm@vger.kernel.org, avi@redhat.com To: Blue Swirl Return-path: Received: from yx-out-2324.google.com ([74.125.44.28]:54475 "EHLO yx-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751942AbYLLUKH (ORCPT ); Fri, 12 Dec 2008 15:10:07 -0500 Received: by yx-out-2324.google.com with SMTP id 8so757941yxm.1 for ; Fri, 12 Dec 2008 12:10:06 -0800 (PST) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Blue Swirl wrote: > On 12/12/08, Anthony Liguori wrote: > >> I think we should go back to Fabrice's earliest suggestion here. We should >> just have a simple map/unmap lock/unlock API for physical memory. That >> should be the base API IMHO. >> > > Beautiful! > > >> As long the map function goes from guest physical => host virtual, it can >> work for everything we care about. >> >> This is orthogonal to an API dealing with scatter/gather lists and >> translation to and from them. >> > > So again we tried to solve too many problems at once. > Yup. Regards, Anthony Liguori > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >