qemu-ppc
[Top][All Lists]
Advanced

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

Re: [PATCH] ppc/xive2: Make type Xive2EndSource not user creatable


From: Thomas Huth
Subject: Re: [PATCH] ppc/xive2: Make type Xive2EndSource not user creatable
Date: Fri, 11 Mar 2022 08:45:36 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0

On 11/03/2022 08.43, Cédric Le Goater wrote:
Xive2EndSource objects can only be instantiated through a Xive2Router
(PnvXive2).

Suggested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
---
  hw/intc/xive2.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/hw/intc/xive2.c b/hw/intc/xive2.c
index b6452f14784b..3aff42a69ef5 100644
--- a/hw/intc/xive2.c
+++ b/hw/intc/xive2.c
@@ -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 <thuth@redhat.com>




reply via email to

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