On 27.02.2026 19:46, Bingwu Zhang wrote:
For reserved_va & ~MAP_FIXED mmap, linux-user and bsd-user translates it
into a fixed mmap within [mmap_min_addr, reserved_va]. However, the
previous implementation didn't care about where the address hint
provided by user is greater than reserved_va and will run into
an assertion failure.

This series fixed it for linux-user and bsd-user and added test
coverage. For start > reserved_va, skip [start, reserved_va] and just
search within [min_addr, reserved_va].

I actually thought that I am adding too many CC's and causing
unnecessary noise but b4 is asking me to run auto-to-cc (:

Signed-off-by: Bingwu Zhang <[email protected]>
---
Bingwu Zhang (4):
       linux-user: Deal with mmap where start > reserved_va

Hi!

This smells like qemu-stable change.

       bsd-user: Deal with mmap where start > reserved_va

I'm not sure this one should be picked up too, but since
it's basically the same as for linux, I'd say it should, too.

       tests/tcg/multiarch/test-mmap: Print more details
       tests/tcg/multiarch/test-mmap: Check mmaps beyond reserved_va

And probably the tests, too.

Please let me know if I shouldn't pick these up.

Thanks,

/mjt


Reply via email to