On 4/3/19 11:59 AM, Peter Maydell wrote:
>> +#if TARGET_LONG_BITS == 32 && HOST_LONG_BITS == 64
>> +g_assert(h2g_valid(address));
>> +#endif
>
> I'm not sure this is right. h2g_valid() will check whether the guest address
> is
> below GUEST_ADDR_MAX. For architectures which set
> TARGET_VIRT_
On Wed, 3 Apr 2019 at 10:46, Richard Henderson
wrote:
>
> For this combination, we can tell whether or not the address
> being accessed is within the 4GB range that is accessible by
> the guest. Otherwise the fault must be elsewhere in qemu,
> accessing qemu data structures.
>
> Signed-off-by: Ri
For this combination, we can tell whether or not the address
being accessed is within the 4GB range that is accessible by
the guest. Otherwise the fault must be elsewhere in qemu,
accessing qemu data structures.
Signed-off-by: Richard Henderson
---
accel/tcg/user-exec.c | 9 +
1 file ch