qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 6/7] linux-user: Handle SIGSEGV/SIGBUS in host_to_target_


From: Richard Henderson
Subject: Re: [RFC PATCH 6/7] linux-user: Handle SIGSEGV/SIGBUS in host_to_target_siginfo_noswap
Date: Wed, 15 Sep 2021 09:27:51 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 9/15/21 9:23 AM, Warner Losh wrote:


On Mon, Sep 13, 2021 at 4:05 PM Richard Henderson <richard.henderson@linaro.org <mailto:richard.henderson@linaro.org>> wrote:

    Remap the faulting address from the host address space into
    the guest address space.

    Signed-off-by: Richard Henderson <richard.henderson@linaro.org
    <mailto:richard.henderson@linaro.org>>
    ---
      linux-user/signal.c | 9 +++++++++
      1 file changed, 9 insertions(+)


Reviewed-by: Warner Losh <imp@bsdimp.com <mailto:imp@bsdimp.com>>

If I'm understanding this right, the FreeBSD code in the bsd-user fork won't be affected by this change.
(or conversely, it's so far behind the linux stuff that it will need to be 
completely
revamped).

The converse, yes. I haven't looked at your branch, but I assume that it'll be easier with this cleanup than without. FWIW.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]