xen: check pre-allocated page tables for conflict with memory map
authorJuergen Gross <jgross@suse.com>
Fri, 17 Jul 2015 04:51:31 +0000 (06:51 +0200)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 20 Aug 2015 11:24:21 +0000 (12:24 +0100)
commit04414baab5ba862b10bde837c4773ffdbb78f0e0
treea64d6d48e06caf60c2d676d769ec82c55f224201
parent808fdb71936c41d46245f0e3aa6ec889cba70d97
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>
arch/x86/xen/mmu.c
arch/x86/xen/setup.c
arch/x86/xen/xen-ops.h