xen: add capability to load initrd outside of initial mapping
Modern pvops linux kernels support an initrd not covered by the initial mapping. This capability is flagged by an elf-note. In case the elf-note is set by the kernel don't place the initrd into the initial mapping. This will allow to load larger initrds and/or support domains with larger memory, as the initial mapping is limited to 2GB and it is containing the p2m list. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
d73976fdff
commit
5500cefccd
3 changed files with 53 additions and 11 deletions
|
@ -36,6 +36,7 @@ struct grub_xen_file_info
|
|||
int has_note;
|
||||
int has_xen_guest;
|
||||
int extended_cr3;
|
||||
int unmapped_initrd;
|
||||
enum
|
||||
{
|
||||
GRUB_XEN_FILE_I386 = 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue