loader/arm64/xen_boot: Consider alignment calling grub_arch_efi_linux_boot_image()
The Xen image is loaded with an alignment, not always at "start". Signed-off-by: Frediano Ziglio <frediano.ziglio@cloud.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
This commit is contained in:
parent
e82609a476
commit
030a70fcad
@ -247,13 +247,17 @@ fail:
|
||||
static grub_err_t
|
||||
xen_boot (void)
|
||||
{
|
||||
grub_addr_t start;
|
||||
|
||||
grub_err_t err = finalize_params_xen_boot ();
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
return grub_arch_efi_linux_boot_image (xen_hypervisor->start,
|
||||
xen_hypervisor->size,
|
||||
xen_hypervisor->cmdline);
|
||||
start = xen_boot_address_align (xen_hypervisor->start,
|
||||
xen_hypervisor->align);
|
||||
return grub_arch_efi_linux_boot_image (start,
|
||||
xen_hypervisor->size,
|
||||
xen_hypervisor->cmdline);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user