[PATCH 1/3] xen: Avoid overlapping segments in low memory

Simon Horman horms at verge.net.au
Fri May 31 02:07:46 PDT 2019


On Tue, May 21, 2019 at 09:32:26AM +0200, Varad Gautam wrote:
> From: David Woodhouse <dwmw at amazon.co.uk>
> 
> Unlike Linux which creates a full identity mapping, Xen only maps those
> segments which are explicitly requested. Therefore, xen_kexec_load()
> silently adds in a segment from zero to 1MiB to ensure that VGA memory
> and other things are accessible.
> 
> However, this doesn't work when there are already segments to be loaded
> under 1MiB, because the overlap causes Xen to reject the kexec_load.
> 
> Be more careful and just infill the ranges which are required instead
> of naïvely adding a full 0-1MiB segment at the end.
> 
> Signed-off-by: David Woodhouse <dwmw at amazon.co.uk>

This patch appears to be present in the kexec-tools tree as:

eff53089523c xen: Avoid overlapping segments in low memory



More information about the kexec mailing list