Re: [Qemu-devel] [PATCH 2/3] linux-user: Tidy and enforce reserved_va initialization

2017-10-05 Thread Richard Henderson
On 10/03/2017 12:24 PM, Peter Maydell wrote: > On 8 July 2017 at 03:50, Richard Henderson wrote: >> We had a check using TARGET_VIRT_ADDR_SPACE_BITS to make sure >> that the allocation coming in from the command-line option was >> not too large, but that didn't include target-specific knowledge >>

Re: [Qemu-devel] [PATCH 2/3] linux-user: Tidy and enforce reserved_va initialization

2017-10-03 Thread Peter Maydell
On 8 July 2017 at 03:50, Richard Henderson wrote: > We had a check using TARGET_VIRT_ADDR_SPACE_BITS to make sure > that the allocation coming in from the command-line option was > not too large, but that didn't include target-specific knowledge > about other restrictions on user-space. > > Remove

[Qemu-devel] [PATCH 2/3] linux-user: Tidy and enforce reserved_va initialization

2017-07-07 Thread Richard Henderson
We had a check using TARGET_VIRT_ADDR_SPACE_BITS to make sure that the allocation coming in from the command-line option was not too large, but that didn't include target-specific knowledge about other restrictions on user-space. Remove several target-specific hacks in linux-user/main.c. For MIPS