x86/boot: Allocate one extra module slot for Xen image placement
authorDaniel Kiper <daniel.kiper@oracle.com>
Thu, 27 Sep 2018 10:05:07 +0000 (12:05 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 27 Sep 2018 10:17:47 +0000 (11:17 +0100)
commit4c5f9dbebc0bd2afee1ecd936c74ffe65756950f
tree8febbf1049c2a4c0df7ad3b61125d77c00a685ba
parentc759fb5bc303411e70322948a6ced81b6219ad3a
x86/boot: Allocate one extra module slot for Xen image placement

Commit 9589927 (x86/mb2: avoid Xen image when looking for
module/crashkernel position) fixed relocation issues for
Multiboot2 protocol. Unfortunately it missed to allocate
module slot for Xen image placement in early boot path.
So, let's fix it right now.

Reported-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/boot/reloc.c