On 9/2/26 05:20, Philippe Mathieu-Daudé wrote:
Add TCGCPUOps::do_interrupt() as a wrapper that targets can
implement to control BQL locking independently. The existing
do_interrupt_locked() callback remains for BQL-held contexts.
This allows each target to decide when to acquire the BQL.
Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
include/accel/tcg/cpu-ops.h | 14 ++++++++++++++
accel/tcg/cpu-exec.c | 12 ++++++++----
2 files changed, 22 insertions(+), 4 deletions(-)
Reviewed-by: Richard Henderson <[email protected]>
r~