summaryrefslogtreecommitdiffstats
path: root/target-i386
diff options
context:
space:
mode:
authorths2007-12-09 03:22:57 +0100
committerths2007-12-09 03:22:57 +0100
commit01ba98161f954621bcf557ad8d5a0838d18000a1 (patch)
tree9f95161d17b12c2f2617b9441b8653891ee9b041 /target-i386
parentRemove broken ds1225y init, it is useless on this machine anyway. (diff)
downloadqemu-01ba98161f954621bcf557ad8d5a0838d18000a1.tar.gz
qemu-01ba98161f954621bcf557ad8d5a0838d18000a1.tar.xz
qemu-01ba98161f954621bcf557ad8d5a0838d18000a1.zip
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-i386')
-rw-r--r--target-i386/helper2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-i386/helper2.c b/target-i386/helper2.c
index 67658e297d..968d9dd56a 100644
--- a/target-i386/helper2.c
+++ b/target-i386/helper2.c
@@ -99,6 +99,7 @@ CPUX86State *cpu_x86_init(const char *cpu_model)
if (!env)
return NULL;
cpu_exec_init(env);
+ env->cpu_model_str = cpu_model;
/* init various static tables */
if (!inited) {