diff options
author | Richard Henderson <rth@twiddle.net> | 2012-09-21 14:15:36 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-09-21 15:12:59 +0200 |
commit | 2b85cf0efd81a6190320e7b488a0a4bad9743cc3 (patch) | |
tree | e5d8ab37d21a9c765ae36884be90534dece1407a /target-alpha/translate.c | |
parent | 473955e5c3bce09c007ba3b64937cfca6f18f525 (diff) | |
download | qemu-2b85cf0efd81a6190320e7b488a0a4bad9743cc3.zip qemu-2b85cf0efd81a6190320e7b488a0a4bad9743cc3.tar.gz qemu-2b85cf0efd81a6190320e7b488a0a4bad9743cc3.tar.bz2 |
target-alpha: Initialize env->cpu_model_str
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>
Diffstat (limited to 'target-alpha/translate.c')
-rw-r--r-- | target-alpha/translate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 12de6a3..93063fb 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -3549,6 +3549,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; |