Re: [PATCH v2 4/9] accel/tcg: Add guest_base_signed_addr32 for user-only

2022-03-03 Thread Peter Maydell
On Sun, 27 Feb 2022 at 02:08, Richard Henderson wrote: > > While the host may prefer to treat 32-bit addresses as signed, > there are edge cases of guests that cannot be implemented with > addresses 0x7fff_ and 0x8000_ being non-consecutive. > > Therefore, default to guest_base_signed_addr

[PATCH v2 4/9] accel/tcg: Add guest_base_signed_addr32 for user-only

2022-02-26 Thread Richard Henderson
While the host may prefer to treat 32-bit addresses as signed, there are edge cases of guests that cannot be implemented with addresses 0x7fff_ and 0x8000_ being non-consecutive. Therefore, default to guest_base_signed_addr32 false, and allow probe_guest_base to determine whether it is pos