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

[Xen-devel] RE: MFN & Page Mapping

To: "'Kumar, Venkat'" <Venkat.Kumar@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] RE: MFN & Page Mapping
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Wed, 19 Nov 2008 10:19:12 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Tue, 18 Nov 2008 18:19:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <3D9CB4061D1EB3408D4A0B910433453C02E8FEF0FF@xxxxxxxxxxxxxxxxx>
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: <3D9CB4061D1EB3408D4A0B910433453C02E8FEF0FF@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclJhbNPDpMych5gSVawXXNEcIsvPAAZx+uQ
Thread-topic: MFN & Page Mapping
virt_to_mfn in hvm gets you gpfn, while virt_to_mfn in pv gets the real mfn. So it's expected. HVM domain can not use a mfn inside.
 
Thanks,
Kevin


From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Kumar, Venkat
Sent: Tuesday, November 18, 2008 9:58 PM
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] MFN & Page Mapping

When I share a page between a HVM domain (who offers the page) and a PV domain (who maps the page), I realized that the MFN (machine frame number) of the shared page in both these domains are different.

When I do virt_to_mfn on both the domains I get a different machine frame number. Is it expected or is the page really getting shared? I could see the contents of the page identical from both the domains.

 

Any clues?

 

Thx,

Venkat

 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>