@@ -369,6 +369,10 @@ static void icp_class_init(ObjectClass *klass, void *data)
dc->realize = icp_realize;
dc->unrealize = icp_unrealize;
+ /*
+ * Reason: part of XICS interrupt controller, needs to be wired up
+ * by icp_create().
+ */
dc->user_creatable = false;
}
@@ -690,6 +694,10 @@ static void ics_class_init(ObjectClass *klass, void *data)
dc->props = ics_properties;
dc->reset = ics_reset;
dc->vmsd = &vmstate_ics;
+ /*
+ * Reason: part of XICS interrupt controller, needs to be wired up,
+ * e.g. by spapr_irq_init().
+ */
dc->user_creatable = false;
}
Signed-off-by: Greg Kurz <groug@kaod.org> --- hw/intc/xics.c | 8 ++++++++ 1 file changed, 8 insertions(+)