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@lists.xensource.com
[mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Kumar, Venkat
Sent: Tuesday, November 18, 2008 9:58 PM
To: xen-devel@lists.xensource.com
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@lists.xensource.com
http://lists.xensource.com/xen-devel