hw/core: Add TCGCPUOps.record_sigbus
commit644a9fece426d52cf8fb51e24e003dd4c590c5cc
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 4 Oct 2021 17:05:20 +0000 (4 10:05 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 2 Nov 2021 11:00:52 +0000 (2 07:00 -0400)
tree91ebaba33cf0d60f69742699272e8b04dbe774d8
parenteeca7dc566076d6130d986e17508372bc7916281
hw/core: Add TCGCPUOps.record_sigbus

Add a new user-only interface for updating cpu state before
raising a signal.  This will take the place of do_unaligned_access
for user-only and should result in less boilerplate for each guest.

Reviewed-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/hw/core/tcg-cpu-ops.h