Skip to contentSkip to conversation

No P2M mapping == pagetype == XEN_DOMCTL_PFINFO_XTAB?

DISCUSSION Mike Sun 2 participants 2 messages Sep 29, 2008

lore
Share & tools
lore

Mike Sun

author
#0 lore raw

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

#1 lore raw

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_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
[email protected]
http://lists.xensource.com/xen-devel