The x86 struct arch_shared_info field pfn_to_mfn_frame_list_list currently contains the mfn of the top level page frame of the 3 level p2m tree, which is used by the Xen tools during saving and restoring (and live migration) of pv domains and for crash dump analysis. With three levels of the p2m tree it is possible to support up to 512 GB of RAM for a 64 bit pv domain.
A 32 bit pv domain can support more, as each memory page can hold 1024 instead of 512 entries, leading to a limit of 4 TB. To be able to support more RAM on x86-64 switch to a virtual mapped p2m list. Juergen Gross (4): expand x86 arch_shared_info to support linear p2m list introduce arch_get_features() introduce boot parameter for setting XENFEAT_virtual_p2m document new boot parameter virt_p2m docs/misc/xen-command-line.markdown | 22 ++++++++++ xen/arch/arm/domain.c | 5 +++ xen/arch/x86/domain.c | 80 +++++++++++++++++++++++++++++++++++++ xen/common/kernel.c | 22 +--------- xen/include/public/arch-x86/xen.h | 7 +++- xen/include/public/features.h | 3 ++ xen/include/xen/domain.h | 2 + 7 files changed, 120 insertions(+), 21 deletions(-) -- 2.1.2 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel