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
diff --git a/target-ppc/helper.c b/target-ppc/helper.c
index 7a32d4a..a808454 100644
--- a/target-ppc/helper.c
+++ b/target-ppc/helper.c
@@ -2976,6 +2976,7 @@
     if (!env)
         return NULL;
     cpu_exec_init(env);
+    env->cpu_model_str = cpu_model;
     cpu_ppc_register_internal(env, def);
     cpu_ppc_reset(env);
     return env;