qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2] xive: Add /* Reason */ comment to "->user_creatable = false"


From: Greg Kurz
Subject: [PATCH 1/2] xive: Add /* Reason */ comment to "->user_creatable = false" statements
Date: Mon, 07 Oct 2019 15:43:04 +0200
User-agent: StGit/unknown-version

Signed-off-by: Greg Kurz <address@hidden>
---
 hw/intc/xive.c |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/hw/intc/xive.c b/hw/intc/xive.c
index 6c54a35fd4bb..453d389848f8 100644
--- a/hw/intc/xive.c
+++ b/hw/intc/xive.c
@@ -670,6 +670,10 @@ static void xive_tctx_class_init(ObjectClass *klass, void 
*data)
     dc->realize = xive_tctx_realize;
     dc->unrealize = xive_tctx_unrealize;
     dc->vmsd = &vmstate_xive_tctx;
+    /*
+     * Reason: part of XIVE interrupt controller, needs to be wired up
+     * by xive_tctx_create().
+     */
     dc->user_creatable = false;
 }
 
@@ -1119,6 +1123,10 @@ static void xive_source_class_init(ObjectClass *klass, 
void *data)
     dc->props   = xive_source_properties;
     dc->realize = xive_source_realize;
     dc->vmsd    = &vmstate_xive_source;
+    /*
+     * Reason: part of XIVE interrupt controller, needs to be wired up,
+     * e.g. by spapr_xive_instance_init().
+     */
     dc->user_creatable = false;
 }
 
@@ -1855,6 +1863,10 @@ static void xive_end_source_class_init(ObjectClass 
*klass, void *data)
     dc->desc    = "XIVE END Source";
     dc->props   = xive_end_source_properties;
     dc->realize = xive_end_source_realize;
+    /*
+     * Reason: part of XIVE interrupt controller, needs to be wired up,
+     * e.g. by spapr_xive_instance_init().
+     */
     dc->user_creatable = false;
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]