guest/pvh: special case the low 1MB
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 12 Nov 2018 16:14:57 +0000 (17:14 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 12 Nov 2018 16:14:57 +0000 (17:14 +0100)
commitc49338ef287c44113476d4c6ccaad7fa2924f8c7
treec55119544215dd1ad6570dc279eaa69a1f59ce9e
parentc6aae55786e138951daf25e14709895d8c166948
guest/pvh: special case the low 1MB

When running as a PVH guest Xen only special cases the trampoline
code in the low 1MB, without also reserving the space used by the
relocated metadata or the trampoline stack.

Fix this by always reserving the low 1MB regardless of whether Xen is
running as a guest or natively.

Reported-by: Sergey Dyasli <sergey.dyasli@citrix.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/mm.c