]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user: Remove pgb_dynamic alignment assertion
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 14 Feb 2024 04:18:01 +0000 (04:18 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 29 Feb 2024 21:35:37 +0000 (11:35 -1000)
commitb816e1b5ba58a986b10cd830d6617f351979ab91
treec1a015991fff805bc2bb23c469865b8129241a40
parentf2ffdfab7e5ae5217567508bb74c329e3b19dd44
linux-user: Remove pgb_dynamic alignment assertion

The assertion was never correct, because the alignment is a composite
of the image alignment and SHMLBA.  Even if the image alignment didn't
match the image address, an assertion would not be correct -- more
appropriate would be an error message about an ill formed image.  But
the image cannot be held to SHMLBA under any circumstances.

Fixes: ee94743034b ("linux-user: completely re-write init_guest_space")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2157
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reported-by: Alexey Sheplyakov <asheplyakov@yandex.ru>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
linux-user/elfload.c