aboutsummaryrefslogtreecommitdiff
path: root/target-xtensa/helper.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-01-16 04:19:35 +0100
committerAndreas Färber <afaerber@suse.de>2013-02-16 14:50:57 +0100
commit5f6c964389ea5320e81e2fb8c2bc3aa40c5a8013 (patch)
treea2064dbeb9e720ff2d88c5c65bcca61a923b4b2b /target-xtensa/helper.c
parent088383e3220776917f538d0e43933e842e16b804 (diff)
target-xtensa: Introduce QOM realizefn for XtensaCPU
Introduce realizefn and set realized = true in cpu_xtensa_init(). Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-xtensa/helper.c')
-rw-r--r--target-xtensa/helper.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/target-xtensa/helper.c b/target-xtensa/helper.c
index 94c03a1d3c..14bcc7ef23 100644
--- a/target-xtensa/helper.c
+++ b/target-xtensa/helper.c
@@ -104,7 +104,9 @@ XtensaCPU *cpu_xtensa_init(const char *cpu_model)
}
xtensa_irq_init(env);
- qemu_init_vcpu(env);
+
+ object_property_set_bool(OBJECT(cpu), true, "realized", NULL);
+
return cpu;
}