]> git.proxmox.com Git - qemu.git/blobdiff - target-s390x/helper.c
target-s390x: Introduce QOM realizefn for S390CPU
[qemu.git] / target-s390x / helper.c
index 76268317a3ba04221c25b17688df3bfc0cfd517a..d3bb4561f14496a2b39c0aa59dfc3e6143063e6b 100644 (file)
@@ -85,7 +85,9 @@ S390CPU *cpu_s390x_init(const char *cpu_model)
     }
 
     env->cpu_model_str = cpu_model;
-    qemu_init_vcpu(env);
+
+    object_property_set_bool(OBJECT(cpu), true, "realized", NULL);
+
     return cpu;
 }