From: Emilio G. Cota Date: Tue, 15 Jan 2019 19:47:53 +0000 (-0500) Subject: cpu-exec: add assert_no_pages_locked() after longjmp X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8fd3a9b81d29abf16f9cadfdcb55dd3a229ab12a;p=qmiga%2Fqemu.git cpu-exec: add assert_no_pages_locked() after longjmp We forgot to add this check in faa9372c07 ("translate-all: introduce assert_no_pages_locked", 2018-06-15); we only added it after returning from a longjmp in cpu_exec_step_atomic. Fix it. Signed-off-by: Emilio G. Cota Reviewed-by: Richard Henderson Signed-off-by: Paolo Bonzini --- diff --git a/accel/tcg/cpu-exec.c b/accel/tcg/cpu-exec.c index 7cf1292546..49b3259f36 100644 --- a/accel/tcg/cpu-exec.c +++ b/accel/tcg/cpu-exec.c @@ -702,6 +702,7 @@ int cpu_exec(CPUState *cpu) if (qemu_mutex_iothread_locked()) { qemu_mutex_unlock_iothread(); } + assert_no_pages_locked(); } /* if an exception is pending, we execute it here */