Patchwork [5/6] target-alpha: Fix cpu_alpha_init

login
register
mail settings
Submitter Richard Henderson
Date Sept. 21, 2012, 2:17 p.m.
Message ID <1348237034-15851-6-git-send-email-rth@twiddle.net>
Download mbox | patch
Permalink /patch/185745/
State New
Headers show

Comments

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

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;