[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] linux-user: Propagate siginfo_t through to
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] linux-user: Propagate siginfo_t through to handle_cpu_signal() |
Date: |
Tue, 28 Nov 2017 14:55:58 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
On 11/28/2017 02:35 PM, Peter Maydell wrote:
> Currently all the architecture/OS specific cpu_signal_handler()
> functions call handle_cpu_signal() without passing it the
> siginfo_t. We're going to want that so we can look at the si_code
> to determine whether this is a SEGV_ACCERR access violation or
> some other kind of fault, so change the functions to pass through
> the pointer to the siginfo_t rather than just the si_addr value.
>
> Signed-off-by: Peter Maydell <address@hidden>
> ---
> accel/tcg/user-exec.c | 39 ++++++++++++++-------------------------
> 1 file changed, 14 insertions(+), 25 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~