diff options
author | Jan Beulich <jbeulich@suse.com> | 2013-01-23 14:15:16 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2013-01-23 14:15:16 +0100 |
commit | adc5afbf1c70ef55c260fb93e4b8ce5ccb918706 (patch) | |
tree | 2893064bbbb1e457fba52be6eadc8587a8497761 /xen/arch/x86/mm.c | |
parent | 53a4e820f2888b1c7fcac6cc65c5ce854a2ff1ea (diff) | |
download | xen-adc5afbf1c70ef55c260fb93e4b8ce5ccb918706.tar.gz xen-adc5afbf1c70ef55c260fb93e4b8ce5ccb918706.tar.bz2 xen-adc5afbf1c70ef55c260fb93e4b8ce5ccb918706.zip |
x86: support up to 16Tb
This mainly involves adjusting the number of L4 entries needing copying
between page tables (which is now different between PV and HVM/idle
domains), and changing the cutoff point and method when more than the
supported amount of memory is found in a system.
Since TMEM doesn't currently cope with the full 1:1 map not always
being visible, it gets forcefully disabled in that case.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Diffstat (limited to 'xen/arch/x86/mm.c')
-rw-r--r-- | xen/arch/x86/mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/mm.c b/xen/arch/x86/mm.c index a3c4b6bcbc..aefac6d959 100644 --- a/xen/arch/x86/mm.c +++ b/xen/arch/x86/mm.c @@ -1320,7 +1320,7 @@ void init_guest_l4_table(l4_pgentry_t l4tab[], const struct domain *d) /* Xen private mappings. */ memcpy(&l4tab[ROOT_PAGETABLE_FIRST_XEN_SLOT], &idle_pg_table[ROOT_PAGETABLE_FIRST_XEN_SLOT], - ROOT_PAGETABLE_XEN_SLOTS * sizeof(l4_pgentry_t)); + ROOT_PAGETABLE_PV_XEN_SLOTS * sizeof(l4_pgentry_t)); l4tab[l4_table_offset(LINEAR_PT_VIRT_START)] = l4e_from_pfn(domain_page_map_to_mfn(l4tab), __PAGE_HYPERVISOR); l4tab[l4_table_offset(PERDOMAIN_VIRT_START)] = |