diff options
author | Juergen Gross <jgross@suse.com> | 2015-07-17 07:51:31 +0300 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-08-20 14:24:21 +0300 |
commit | 04414baab5ba862b10bde837c4773ffdbb78f0e0 (patch) | |
tree | a64d6d48e06caf60c2d676d769ec82c55f224201 /arch/x86/xen/xen-ops.h | |
parent | 808fdb71936c41d46245f0e3aa6ec889cba70d97 (diff) | |
download | linux-04414baab5ba862b10bde837c4773ffdbb78f0e0.tar.xz |
xen: check pre-allocated page tables for conflict with memory map
Check whether the page tables built by the domain builder are at
memory addresses which are in conflict with the target memory map.
If this is the case just panic instead of running into problems
later.
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'arch/x86/xen/xen-ops.h')
-rw-r--r-- | arch/x86/xen/xen-ops.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/xen/xen-ops.h b/arch/x86/xen/xen-ops.h index c4c3c23597a5..9038a0f1d5a1 100644 --- a/arch/x86/xen/xen-ops.h +++ b/arch/x86/xen/xen-ops.h @@ -35,6 +35,7 @@ void xen_build_mfn_list_list(void); void xen_setup_machphys_mapping(void); void xen_setup_kernel_pagetable(pgd_t *pgd, unsigned long max_pfn); void xen_reserve_top(void); +void __init xen_pt_check_e820(void); void xen_mm_pin_all(void); void xen_mm_unpin_all(void); |