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é <phi...@linaro.org>
---
Reviewed-by: Daniel Henrique Barboza <dbarb...@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.