mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 04:13:39 +08:00
cpu-exec: reset BQL after longjmp in cpu_exec_step_atomic
Just like we do in cpu_exec(). Reported-by: Max Filippov <jcmvbkbc@gmail.com> Tested-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Emilio G. Cota <cota@braap.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
8fd3a9b81d
commit
6aaa24f9d4
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user