aboutsummaryrefslogtreecommitdiff
path: root/target-cris/translate.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-01-05 15:41:21 +0100
committerAndreas Färber <afaerber@suse.de>2013-02-16 14:50:57 +0100
commitca45f8b0440358ccca63446cf0df05772791b2a1 (patch)
treeceac1af5a70acf5fa14d7cf09723a3b400d8ed8f /target-cris/translate.c
parent4776ce600338e17f75d200d1ad17d4ce9effa57f (diff)
target-cris: Introduce QOM realizefn for CRISCPU
Introduce realizefn and set realized = true from cpu_cris_init(). Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-cris/translate.c')
-rw-r--r--target-cris/translate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target-cris/translate.c b/target-cris/translate.c
index 09e6011ea4..25ff490399 100644
--- a/target-cris/translate.c
+++ b/target-cris/translate.c
@@ -3558,8 +3558,7 @@ CRISCPU *cpu_cris_init(const char *cpu_model)
env->pregs[PR_VR] = vr_by_name(cpu_model);
- cpu_reset(CPU(cpu));
- qemu_init_vcpu(env);
+ object_property_set_bool(OBJECT(cpu), true, "realized", NULL);
if (tcg_initialized) {
return cpu;