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] mmap in PV xen-4.0.1

To: Wei Liu <liuw@xxxxxxxxx>
Subject: Re: [Xen-devel] mmap in PV xen-4.0.1
From: Eric Camachat <eric.camachat@xxxxxxxxx>
Date: Wed, 10 Aug 2011 20:10:20 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Wed, 10 Aug 2011 20:11:36 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Y4KifOW+D/5DKS2znddKgLvDwACrCiamjbOLvizsOuk=; b=qx59RIfpKpQwROOD4zgs9zzJZaA5wd3AEPmjefldfkmv2vuuwUykecbHQh56KD3HeW xrvPbch8Cu/HDzf/2O4FzLuJehMjQlbr77IlpPa4HkzjZwpabUudcBMODnkO1zUNCVgZ zwKxAvqsOG2doCjYP4NrgoZLFAC+zv6eb/a1M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110811013104.GB1889@limbo>
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>
References: <CACeEFf77eOLLNgsJwEYdzeiuxm+qDcO2zs09FK-Waas0sxcwLQ@xxxxxxxxxxxxxx> <CACeEFf5yDb3dh+M3nycmYMaW5Vf+6C57QXZjXEBQZhrwkTHkHg@xxxxxxxxxxxxxx> <20110810091256.GA1537@limbo> <CACeEFf6HoD10k5PUP7gNBNteyY=Wh3XTJCOZEmvs+Us+WfahNw@xxxxxxxxxxxxxx> <20110810192546.GA2875@xxxxxxxxxxxx> <CACeEFf5B08guZ2XNKGcuUSP-W=NiqMHxT3o0ghi5ky7QJOeRKg@xxxxxxxxxxxxxx> <20110811013104.GB1889@limbo>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Aug 10, 2011 at 6:31 PM, Wei Liu <liuw@xxxxxxxxx> wrote:
> On Wed, Aug 10, 2011 at 12:45:20PM -0700, Eric Camachat wrote:
>> The idea is move servers into XEN domU.
>> I saw that 3.0 has built-in XEN support, I can try it later.
>> But I don't know if other components are compatible with 3.0.
>>
>> I just wonder that MFN should equals PFN in PV (para-virtualization),
>> so it should works properly.
>>
>
> If by "PFN" you mean "Physical Frame Number", then I think you made a
> wrong assumption here.
>
> MFN and PFN has no linear, 1:1 mapping relationship, let alone say
> they are equal.
>
> Wei.
>
I misunderstood in GFN and PFN, MFN and GFN should be equal.
So PV domU has the same memory view with real hardware, right?

Ref. 
http://blog.xen.org/index.php/2009/10/09/xen-memory-management-overview-presentation/

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