Mike Sun
2008-Sep-29 17:35 UTC
[Xen-devel] No P2M mapping == pagetype == XEN_DOMCTL_PFINFO_XTAB?
For an HVM domain, if a given pfn has a pagetype of XEN_DOMCTL_PFINFO_XTAB as returned by xc_map_foreign_batch(), does this mean that pfn is not not in the HVM guest''s pseudo-physical map/have a valid P2M entry? I''m having difficulty understanding page types for HVM domains. If a pfn for an HVM domain is of the type XEN_DOMCTL_PFINFO_XTAB, can it later become a valid page? And what about the reverse case? Any help would be much appreciated, thanks, Mike _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2008-Sep-29 17:53 UTC
Re: [Xen-devel] No P2M mapping == pagetype == XEN_DOMCTL_PFINFO_XTAB?
If the top nibble is set (i.e, XEN_..._XTAB) then indeed there is no memory page at that pseudophysical address. It could become populated later (by XENMEM_populate_physmap for example). -- Keir On 29/9/08 18:35, "Mike Sun" <msun@gatech.edu> wrote:> For an HVM domain, if a given pfn has a pagetype of > XEN_DOMCTL_PFINFO_XTAB as returned by xc_map_foreign_batch(), does > this mean that pfn is not not in the HVM guest''s pseudo-physical > map/have a valid P2M entry? > > I''m having difficulty understanding page types for HVM domains. If a > pfn for an HVM domain is of the type XEN_DOMCTL_PFINFO_XTAB, can it > later become a valid page? And what about the reverse case? > > Any help would be much appreciated, thanks, > Mike > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel