On 03/06/16 23:40, Alex Bennée wrote: > diff --git a/translate-all.c b/translate-all.c > index e3f44d9..8b162ff 100644 > --- a/translate-all.c > +++ b/translate-all.c (snip) > @@ -347,8 +349,10 @@ bool cpu_restore_state(CPUState *cpu, uintptr_t retaddr) > cpu_restore_state_from_tb(cpu, tb, retaddr); > if (tb->cflags & CF_NOCACHE) { > /* one-shot translation, invalidate it immediately */ > + tb_lock(); > tb_phys_invalidate(tb, -1); > tb_free(tb); > + tb_unlock();
Looks like this belongs to another patch ;-) > } > return true; > } > Kind regards, Sergey