On Thu, Apr 19, 2012 at 20:48, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 19 April 2012 21:27, Blue Swirl <blauwir...@gmail.com> wrote: >> @@ -119,7 +120,9 @@ CPUSPARCState *cpu_sparc_init(const char *cpu_model) >> cpu = SPARC_CPU(object_new(TYPE_SPARC_CPU)); >> env = &cpu->env; >> >> - gen_intermediate_code_init(env); >> + if (!qtest_enabled()) { >> + gen_intermediate_code_init(env); >> + } > > gen_intermediate_code_init() is doing TCG specific init, so > this guard should be "if (tcg_enabled())".
OK. Though I wouldn't hold my breath waiting for KVM on Sparc. > > -- PMM