]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target-alpha: Initialize env->cpu_model_str
authorRichard Henderson <rth@twiddle.net>
Fri, 21 Sep 2012 12:15:36 +0000 (14:15 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 9 Oct 2012 06:42:11 +0000 (01:42 -0500)
Save the cpu_model_str so that we have a non-null value when
creating a new cpu during clone.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target-alpha/translate.c

index 4a9011a2b67ee82a870e61f7799b1e1f203fc0fb..3f9aee12d475b221c4ee254d3304e4ced29f97ec 100644 (file)
@@ -3543,6 +3543,7 @@ CPUAlphaState * cpu_alpha_init (const char *cpu_model)
     }
     env->implver = implver;
     env->amask = amask;
+    env->cpu_model_str = cpu_model;
 
     qemu_init_vcpu(env);
     return env;