xen: check for kernel memory conflicting with memory layout
authorJuergen Gross <jgross@suse.com>
Fri, 17 Jul 2015 04:51:30 +0000 (06:51 +0200)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 20 Aug 2015 11:24:21 +0000 (12:24 +0100)
commit808fdb71936c41d46245f0e3aa6ec889cba70d97
tree613d68a455fbc9053bb8627f013965f3e293be20
parent9ddac5b724a9465e27f25a0aa943e92c8341a85b
xen: check for kernel memory conflicting with memory layout

Checks whether the pre-allocated memory of the loaded kernel is in
conflict with the target memory map. If this is the case, just panic
instead of run into problems later, as there is nothing we can do
to repair this situation.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/setup.c