Re: [Qemu-devel] [PATCH] linux-user: guard mmap_next_start from specific maps

2012-03-03 Thread Paul Brook
> If the guest process tells us to map at a specific address, we shouldn't > increase the "last automatic mapping ended here" variable. That sounds reasonable, in fact I'd go further. Tests on an x86-linux machine (both 32-bit and 64-bit userspace) show that if the requested address is not avai

[Qemu-devel] [PATCH] linux-user: guard mmap_next_start from specific maps

2012-03-03 Thread Alexander Graf
If the guest process tells us to map at a specific address, we shouldn't increase the "last automatic mapping ended here" variable. This patch brings the reserved_va code in line with the default case. Signed-off-by: Alexander Graf --- linux-user/mmap.c |6 +- 1 files changed, 5 inserti