From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Arcangeli Subject: Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO Date: Sat, 13 Dec 2008 15:39:44 +0100 Message-ID: <20081213143944.GD30537@random.random> References: <4942B841.6010900@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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]:56154 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752132AbYLMOjv (ORCPT ); Sat, 13 Dec 2008 09:39:51 -0500 Content-Disposition: inline In-Reply-To: <4942B841.6010900@codemonkey.ws> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Dec 12, 2008 at 01:15:13PM -0600, Anthony Liguori wrote: > void *cpu_physical_memory_map(target_phys_addr_t addr, ram_addr_t size, int > is_write); Just a side note (doesn't mean I agree with the above), it doesn't make sense to use an ram_addr_t size when you return a 32bit address on 32bit qemu build.