Skip to content

Commit

Permalink
cpu-exec: reset BQL after longjmp in cpu_exec_step_atomic
Browse files Browse the repository at this point in the history
Just like we do in cpu_exec().

Reported-by: Max Filippov <[email protected]>
Tested-by: Max Filippov <[email protected]>
Signed-off-by: Emilio G. Cota <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
  • Loading branch information
cota authored and bonzini committed Feb 5, 2019
1 parent 8fd3a9b commit 6aaa24f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions accel/tcg/cpu-exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ void cpu_exec_step_atomic(CPUState *cpu)
#ifndef CONFIG_SOFTMMU
tcg_debug_assert(!have_mmap_lock());
#endif
if (qemu_mutex_iothread_locked()) {
qemu_mutex_unlock_iothread();
}
assert_no_pages_locked();
}

Expand Down

0 comments on commit 6aaa24f

Please sign in to comment.