aboutsummaryrefslogtreecommitdiff
path: root/target-arm/helper.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-09 02:22:57 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-12-09 02:22:57 +0000
commit01ba98161f954621bcf557ad8d5a0838d18000a1 (patch)
tree9f95161d17b12c2f2617b9441b8653891ee9b041 /target-arm/helper.c
parent1b66074b2f93a5d3f337d2aab10504426e756e50 (diff)
downloadqemu-01ba98161f954621bcf557ad8d5a0838d18000a1.zip
qemu-01ba98161f954621bcf557ad8d5a0838d18000a1.tar.gz
qemu-01ba98161f954621bcf557ad8d5a0838d18000a1.tar.bz2
Handle cpu_model in copy_cpu(), by Kirill A. Shutemov.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3778 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm/helper.c')
-rw-r--r--target-arm/helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c
index 40bdeb1..86470db 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -182,6 +182,7 @@ CPUARMState *cpu_arm_init(const char *cpu_model)
if (!env)
return NULL;
cpu_exec_init(env);
+ env->cpu_model_str = cpu_model;
env->cp15.c0_cpuid = id;
cpu_reset(env);
return env;