ppc/xive2: Make type Xive2EndSource not user creatable
PATCH 1/1 ppc/xive2: Make type Xive2EndSource not user creatable
Xive2EndSource objects can only be instantiated through a Xive2Router (PnvXive2).
Suggested-by Thomas Huth <[email protected]>
Signed-off-by Cédric Le Goater <[email protected]>
--- hw/intc/xive2.c | 1 + 1 file changed, 1 insertion(+)
hw/intc/xive2.c +1 -0
@@ -1000,6 +1000,7 @@ static void xive2_end_source_class_init(ObjectClass *klass, void *data) dc->desc ="XIVE END Source" ;device_class_set_props (dc, xive2_end_source_properties); dc->realize = xive2_end_source_realize; + dc->user_creatable = false; }static const TypeInfo xive2_end_source_info = {
Signature · 1 line
2.34.1
Quoted 14 lines · Cédric Le Goater
Xive2EndSource objects can only be instantiated through a Xive2Router (PnvXive2).
Suggested-by Thomas Huth <[email protected]>Signed-off-by Cédric Le Goater <[email protected]>--- hw/intc/xive2.c | 1 + 1 file changed, 1 insertion(+)hw/intc/xive2.c +0
-0
hw/intc/xive2.c static void xive2_end_source_class_init(ObjectClass *klass, void *data) · line 1004
Quoted 5 lines
hw/intc/xive2.c +1
-0@@ -1000,6 +1000,7 @@ static void xive2_end_source_class_init(ObjectClass *klass, void *data) dc->desc ="XIVE END Source" ;device_class_set_props (dc, xive2_end_source_properties); dc->realize = xive2_end_source_realize; + dc->user_creatable = false; }
Reviewed-by Thomas Huth <[email protected]>
Quoted 10 lines · Thomas Huth
Quoted 9 lines · Cédric Le Goater
Xive2EndSource objects can only be instantiated through a Xive2Router (PnvXive2).
Suggested-by Thomas Huth <[email protected]>Signed-off-by Cédric Le Goater <[email protected]>---
hw/intc/xive2.c| 1 +1 file changed, 1 insertion(+)
Quoted 12 lines
hw/intc/xive2.c static void xive2_end_source_class_init(ObjectClass *klass, void *data) · line 1004
Quoted 10 lines
hw/intc/xive2.c +1
-0@@ -1000,6 +1000,7 @@ static void xive2_end_source_class_init(ObjectClass *klass, void *data) dc->desc = "XIVE END Source"; device_class_set_props(dc, xive2_end_source_properties); dc->realize = xive2_end_source_realize; + dc->user_creatable = false; }Reviewed-by Thomas Huth <[email protected]>
And,
Fixes f8a233dedf25 ("ppc/xive2: Introduce a XIVE2 core framework")
Thanks,
C.
Quoted 4 lines · Cédric Le Goater
Xive2EndSource objects can only be instantiated through a Xive2Router (PnvXive2).
Suggested-by Thomas Huth <[email protected]>
Reported-by?
Quoted 4 lines
Signed-off-by Cédric Le Goater <[email protected]>--- hw/intc/xive2.c | 1 + 1 file changed, 1 insertion(+)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Quoted 8 lines · Cédric Le Goater
Xive2EndSource objects can only be instantiated through a Xive2Router (PnvXive2).
Suggested-by Thomas Huth <[email protected]>Signed-off-by Cédric Le Goater <[email protected]>--- hw/intc/xive2.c | 1 + 1 file changed, 1 insertion(+)
Queued for 7.0
Thanks,
C.