qemu-ppc
[Top][All Lists]
Advanced

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

Re: [PATCH 3/5] hw/ppc/e500: QOM-attach CPUs to the machine container


From: Daniel Henrique Barboza
Subject: Re: [PATCH 3/5] hw/ppc/e500: QOM-attach CPUs to the machine container
Date: Tue, 31 Oct 2023 18:01:40 -0300
User-agent: Mozilla Thunderbird



On 10/30/23 11:39, Philippe Mathieu-Daudé wrote:
Instead of having CPUs dangling in the /unattached/device
bucket, attach them to the machine container.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---

Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>

  hw/ppc/e500.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c
index e04114fb3c..f8177c0280 100644
--- a/hw/ppc/e500.c
+++ b/hw/ppc/e500.c
@@ -946,6 +946,7 @@ void ppce500_init(MachineState *machine)
              exit(1);
          }
+ object_property_add_child(OBJECT(machine), "cpu[*]", OBJECT(cs));
          /*
           * Secondary CPU starts in halted state for now. Needs to change
           * when implementing non-kernel boot.



reply via email to

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