Re: [PATCH v4 10/23] linux-user: Fix guest_addr_valid vs reserved_va

2021-02-02 Thread Peter Maydell
On Thu, 28 Jan 2021 at 22:42, Richard Henderson wrote: > > We must always use GUEST_ADDR_MAX, because even 32-bit hosts can > use -R to restrict the memory address of the guest. > > Signed-off-by: Richard Henderson > --- > include/exec/cpu_ldst.h | 9 - > 1 file changed, 4 insertions(+)

[PATCH v4 10/23] linux-user: Fix guest_addr_valid vs reserved_va

2021-01-28 Thread Richard Henderson
We must always use GUEST_ADDR_MAX, because even 32-bit hosts can use -R to restrict the memory address of the guest. Signed-off-by: Richard Henderson --- include/exec/cpu_ldst.h | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/include/exec/cpu_ldst.h b/include/exec/c