[5/6] target-alpha: Fix cpu_alpha_init

Submitted by Richard Henderson on Sept. 21, 2012, 2:17 p.m.

Details

Message ID 1348237034-15851-6-git-send-email-rth@twiddle.net
State New
Headers show

Commit Message

Richard Henderson Sept. 21, 2012, 2:17 p.m.
The cpu_model string must be stored for use during clone.

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 target-alpha/translate.c | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

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;