On 28.09.21 18:59, Daniel P. Berrangé wrote:
On Mon, Aug 16, 2021 at 11:47:39AM +0200, David Hildenbrand wrote:
Temporarily modifying the SIGBUS handler is really nasty, as we might be
unlucky and receive an MCE SIGBUS while having our handler registered.
Unfortunately, there is no way around messing with SIGBUS when
MADV_POPULATE_WRITE is not applicable or not around.
Let's forward SIGBUS that don't belong to us to the already registered
handler and document the situation.
Signed-off-by: David Hildenbrand <da...@redhat.com>
---
softmmu/cpus.c | 4 ++++
util/oslib-posix.c | 36 +++++++++++++++++++++++++++++++++---
2 files changed, 37 insertions(+), 3 deletions(-)
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com>
Thanks Daniel!
--
Thanks,
David / dhildenb