]> xenbits.xensource.com Git - xen.git/commit
x86/EFI: avoid Xen image when looking for module/kexec position
authorJan Beulich <jbeulich@suse.com>
Mon, 20 Mar 2017 08:27:12 +0000 (09:27 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 20 Mar 2017 08:27:12 +0000 (09:27 +0100)
commite22e1c47958a4778cd7baa3980f74e52f525ba28
treee16191a1de92a89e7a5695aac2b0898e2dfb7ccf
parentd522571a408a7dd21a06705f6dd51cdafd2db4fc
x86/EFI: avoid Xen image when looking for module/kexec position

When booting straight from EFI, we don't further try to relocate Xen.
As a result, so far we also didn't avoid the area Xen uses when looking
for a location to put modules or the kexec area. Introduce a fake
module slot to deal with that without having to fiddle with a lot of
code.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/efi/efi-boot.h
xen/arch/x86/setup.c