On 26/06/2015 16:47, fred.kon...@greensocs.com wrote: > @@ -1147,7 +1147,7 @@ TranslationBlock *tb_gen_code(CPUState *cpu, > tb = tb_alloc(pc); > if (!tb) { > /* flush must be done */ > - tb_flush(env); > + tb_flush_safe(env);
Should you just call cpu_loop_exit() here, instead of redoing the tb_alloc etc.? Paolo > /* cannot fail at this point */ > tb = tb_alloc(pc);