WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] xc_map_foreign_{range,batch}

To: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xc_map_foreign_{range,batch}
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 16 Dec 2009 21:26:20 +0000
Cc:
Delivery-date: Wed, 16 Dec 2009 13:27:22 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <de76405a0912161050j61eda0cfkea552656c9d20956@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acp+gKqyERlOH7qOTDmX22QMLQCN2AAFb3+w
Thread-topic: [Xen-devel] xc_map_foreign_{range,batch}
User-agent: Microsoft-Entourage/12.23.0.091001
On 16/12/2009 18:50, "George Dunlap" <George.Dunlap@xxxxxxxxxxxxx> 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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>