From: Keir Fraser Subject: Re: xc_map_foreign_{range,batch} Date: Wed, 16 Dec 2009 21:26:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: George Dunlap , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 16/12/2009 18:50, "George Dunlap" wrote: > Why does xc_map_foreign_range() take an argument named mfn of type > unsigned long, while xc_map_foreign_range() takes a list of pointers > to type xen_pfn_t? Is there a signficance to that difference -- i.e., > is one truly a guest pfn (which will be translated to an mfn using the > guest p2m table), and the other truly an mfn (which will have no > translation)? Or are they both mfns? Both are guest MFNs -- i.e., what guest thinks is an MFN (PFN for HVM guest; MFN for PV guest). -- Keir