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
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
Quoted 16 lines · Mike Sun
For an HVM domain, if a given pfn has a pagetype of
XEN_DOMCTL_PFINFO_XTABas returned byxc_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
[email protected]
http://lists.xensource.com/xen-devel