microblaze: Add missing call to qemu_init_vcpu.
authorPeter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
Sun, 31 Jul 2011 04:40:13 +0000 (06:40 +0200)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Sun, 31 Jul 2011 04:40:13 +0000 (06:40 +0200)
Fixes emulation with io-thread.

Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
target-microblaze/translate.c

index 31e8306..41beb0a 100644 (file)
@@ -1850,6 +1850,7 @@ CPUState *cpu_mb_init (const char *cpu_model)
 
     cpu_exec_init(env);
     cpu_reset(env);
+    qemu_init_vcpu(env);
     set_float_rounding_mode(float_round_nearest_even, &env->fp_status);
 
     if (tcg_initialized)