Support changing cpu model for x86

This commit is contained in:
2021-11-04 19:10:29 +01:00
parent 837c3be347
commit 435ac71f47
3 changed files with 15 additions and 18 deletions

View File

@@ -1596,7 +1596,7 @@ static int x86_cpus_init(struct uc_struct *uc, const char *cpu_model)
X86CPU *cpu;
cpu = cpu_x86_init(uc, cpu_model);
cpu = cpu_x86_init(uc);
if (cpu == NULL) {
return -1;
}