On Tue, Jan 15, 2019 at 6:51 AM Emilio G. Cota <c...@braap.org> wrote: > Can you please try the appended? > > diff --git a/accel/tcg/cpu-exec.c b/accel/tcg/cpu-exec.c > index 870027d435..a5258bcbc8 100644 > --- a/accel/tcg/cpu-exec.c > +++ b/accel/tcg/cpu-exec.c > @@ -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(); > }
It works, thank you! Tested-by: Max Filippov <jcmvb...@gmail.com> -- Thanks. -- Max