mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
473955e5c3
commit
2b85cf0efd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue