On 28/01/2015 16:04, Frederic Konrad wrote: > > > /* code generation context */ > -TCGContext tcg_ctx; > +__thread TCGContext tcg_ctx; > > But the big problem is the initialisation, it's done only onetime in the > iothread with > the accelerator..
You need to move it to qemu_tcg_cpu_thread_fn. Paolo