[PATCH] kexec-tools: multiboot2: Correct BASIC_MEMINFO memory units

Simon Horman horms at verge.net.au
Wed Oct 20 03:01:51 PDT 2021


On Tue, Oct 05, 2021 at 11:13:45AM +0200, dinhngoc.tu at irit.fr wrote:
> > Thanks,
> > 
> > I'm curious to know how the current code could have worked.
> > Do we have some testing to verify this change?
> 
> Hi,
> 
> The current code is not actually used very often when loading Xen (which is
> one of the few things that actually support Multiboot2), as Xen uses the
> EBDA instead of the MB2 memory information on the MB2 boot path.
> However this blows up on EFI systems without CSM (as EBDA is no longer
> available).
> 
> I tested the loading of KVM->Xen and Xen->Xen with this patch and a patched
> version of Xen that trusts the MB2 information, on a laptop and a server.
> 
> The Multiboot2 documentation at
> https://www.gnu.org/software/grub/manual/multiboot2/multiboot.html#Basic-mem
> ory-information also supports the change.

Thanks, and sorry for the delay.

Applied.



More information about the kexec mailing list