qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [question] mask SIGBUS in qemu main thread


From: Peter Maydell
Subject: Re: [Qemu-devel] [question] mask SIGBUS in qemu main thread
Date: Mon, 20 Nov 2017 14:33:58 +0000

On 20 November 2017 at 14:23, Alex Bennée <address@hidden> wrote:
> I wonder why the choice was made to re-use SIGBUS for this. I guess the
> meaning is semantically the same (some hardware fault) but surprising
> they are now asynchronously delivered. When it eventually arrives at the
> vCPU it won't be directly tied to what tripped up the machine checking
> logic to trigger? Maybe this was never always the case?

I think the comments in cpus.c:sigbus_handler() mean "asynchronously"
in the sense of "at any time, not just when we explicitly check"
(in contrast to the main thread where we only process SIGBUS when
we want to, via signalfd). In general though some RAS errors are
not going to be synchronous-exceptions in the Arm ARM terms.

thanks
-- PMM



reply via email to

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