On Tue, 18 Jun 2019 at 13:59, Andrew Jones <drjo...@redhat.com> wrote: > > Fix the condition used to check whether the initrd fits > into RAM; in some cases if an initrd was also passed on > the command line we would get an error stating that it > was too big to fit into RAM after the kernel. Despite the > error the loader continued anyway, though, so also add an > exit(1) when the initrd is actually too big. > > Fixes: 852dc64d665f ("hw/arm/boot: Diagnose layouts that put initrd or > DTB off the end of RAM") > Signed-off-by: Andrew Jones <drjo...@redhat.com> > Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com> > --- > hw/arm/boot.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)
Applied to target-arm.next, thanks. -- PMM