]> Git Repo - qemu.git/blobdiff - qom/cpu.c
qdev: Replace no_user by cannot_instantiate_with_device_add_yet
[qemu.git] / qom / cpu.c
index 818fb26dd48f4913301653ba9ff1a33f81b9d729..09c15e6b6005a8c95cdacfdf00e5de6bc29d4878 100644 (file)
--- a/qom/cpu.c
+++ b/qom/cpu.c
@@ -254,7 +254,7 @@ static void cpu_class_init(ObjectClass *klass, void *data)
     k->gdb_read_register = cpu_common_gdb_read_register;
     k->gdb_write_register = cpu_common_gdb_write_register;
     dc->realize = cpu_common_realizefn;
-    dc->no_user = 1;
+    dc->cannot_instantiate_with_device_add_yet = true; /* FIXME explain why */
 }
 
 static const TypeInfo cpu_type_info = {
This page took 0.022676 seconds and 4 git commands to generate.