]> Git Repo - qemu.git/commitdiff
apic: Document why cannot_instantiate_with_device_add_yet
authorMarkus Armbruster <[email protected]>
Thu, 28 Nov 2013 16:26:57 +0000 (17:26 +0100)
committerAndreas Färber <[email protected]>
Sun, 22 Dec 2013 23:27:23 +0000 (00:27 +0100)
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
hw/intc/apic_common.c

index ea420c718888ddaca6b7d5f6c2ee9426ef853f5e..aaef0543bc628ca3992581ce022d5790ff92e497 100644 (file)
@@ -386,9 +386,13 @@ static void apic_common_class_init(ObjectClass *klass, void *data)
 
     dc->vmsd = &vmstate_apic_common;
     dc->reset = apic_reset_common;
-    dc->cannot_instantiate_with_device_add_yet = true; /* FIXME explain why */
     dc->props = apic_properties_common;
     idc->init = apic_init_common;
+    /*
+     * Reason: APIC and CPU need to be wired up by
+     * x86_cpu_apic_create()
+     */
+    dc->cannot_instantiate_with_device_add_yet = true;
 }
 
 static const TypeInfo apic_common_type = {
This page took 0.026925 seconds and 4 git commands to generate.