qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] linux-user: don't adjust base of found hole


From: Richard Henderson
Subject: Re: [PATCH v2] linux-user: don't adjust base of found hole
Date: Tue, 4 Jan 2022 12:02:49 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

On 1/4/22 3:32 AM, Alex Bennée wrote:
The pgb_find_hole function goes to the trouble of taking account of
both mmap_min_addr and any offset we've applied to decide the starting
address of a potential hole. This is especially important for
emulating 32bit ARM in a 32bit build as we have applied the offset to
ensure there will be space to map the ARM_COMMPAGE bellow the main
guest map (using wrapped arithmetic).

Signed-off-by: Alex Bennée<alex.bennee@linaro.org>
Resolves:https://gitlab.com/qemu-project/qemu/-/issues/690

---
v2
   - also make same adjustment to fallback
---
  linux-user/elfload.c | 5 ++---
  1 file changed, 2 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]