x86/boot: Allocate one extra module slot for Xen image placement
authorDaniel Kiper <daniel.kiper@oracle.com>
Mon, 8 Oct 2018 12:28:55 +0000 (14:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 8 Oct 2018 12:28:55 +0000 (14:28 +0200)
commita2e35a759249bd8b6ffeeebc0a3bc96d9cca2fba
tree35c611207fe4b89c80387c3fd9a456aed0396c02
parent451f9c8e02ae8b00c697001fca19a241351a994c
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>
master commit: 4c5f9dbebc0bd2afee1ecd936c74ffe65756950f
master date: 2018-09-27 11:17:47 +0100
xen/arch/x86/boot/reloc.c