Re: [PATCH v3 59/66] accel/tcg: Handle SIGBUS in handle_cpu_signal

2021-08-22 Thread Richard Henderson
On 8/20/21 2:34 AM, Peter Maydell wrote: On Wed, 18 Aug 2021 at 21:13, Richard Henderson wrote: We've been registering host SIGBUS, but then treating it exactly like SIGSEGV. Handle BUS_ADRALN via cpu_unaligned_access, but allow other SIGBUS si_codes to continue into the host-to-guest signal

Re: [PATCH v3 59/66] accel/tcg: Handle SIGBUS in handle_cpu_signal

2021-08-20 Thread Peter Maydell
On Wed, 18 Aug 2021 at 21:13, Richard Henderson wrote: > > We've been registering host SIGBUS, but then treating it > exactly like SIGSEGV. > > Handle BUS_ADRALN via cpu_unaligned_access, but allow other > SIGBUS si_codes to continue into the host-to-guest signal > coversion code in host_signal_ha