]> Git Repo - qemu.git/blobdiff - hw/core/null-machine.c
Merge remote-tracking branch 'remotes/ehabkost/tags/numa-next-pull-request' into...
[qemu.git] / hw / core / null-machine.c
index 864832db34215ba5701ca2674a8234918260c92c..cde4d3eb57c9a75b6fc10a4852812836af6e9995 100644 (file)
@@ -24,9 +24,9 @@ static void machine_none_init(MachineState *mch)
 {
     CPUState *cpu = NULL;
 
-    /* Initialize CPU (if a model has been specified) */
-    if (mch->cpu_model) {
-        cpu = cpu_init(mch->cpu_model);
+    /* Initialize CPU (if user asked for it) */
+    if (mch->cpu_type) {
+        cpu = cpu_create(mch->cpu_type);
         if (!cpu) {
             error_report("Unable to initialize CPU");
             exit(1);
This page took 0.022229 seconds and 4 git commands to generate.