We have now the cpu_exec_realize() in realize, so the init part must be in init
CC: Alexander Graf <ag...@suse.de> CC: qemu-...@nongnu.org Signed-off-by: Laurent Vivier <lviv...@redhat.com> --- target-ppc/translate_init.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c index 5e84e65..5eb2d3a 100644 --- a/target-ppc/translate_init.c +++ b/target-ppc/translate_init.c @@ -9678,11 +9678,6 @@ static void ppc_cpu_realizefn(DeviceState *dev, Error **errp) } #endif - cpu_exec_init(cs, &local_err); - if (local_err != NULL) { - error_propagate(errp, local_err); - return; - } cpu_exec_realize(cs, &local_err); if (local_err != NULL) { error_propagate(errp, local_err); @@ -10439,6 +10434,7 @@ static void ppc_cpu_initfn(Object *obj) CPUPPCState *env = &cpu->env; cs->env_ptr = env; + cpu_exec_init(cs, &error_abort); env->msr_mask = pcc->msr_mask; env->mmu_model = pcc->mmu_model; -- 2.7.4