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

Re: [Xen-devel] Get MFN from the pv linux guest



On Tue, 2011-11-15 at 05:06 +0000, Steven wrote:
> Dear All,
> I am trying get the machine frame number of the corresponding
> pseudo-physical page number in a PV Linux guest.
> Could anyone suggest which data structure I have to take a look? Thanks.

You need to look up in the p2m table. This is maintained by the guest OS
so the method for accessing it is a bit kernel specific but there is
generally a function like pfn_to_mfn() or so.

Ian.


_______________________________________________
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®.