[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] RE: 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.