[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 3/6] hw/arm/highbank: Add missing QOM parent for CPU cores
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 3/6] hw/arm/highbank: Add missing QOM parent for CPU cores |
Date: |
Tue, 23 Jan 2024 23:25:05 +0100 |
QDev objects created with qdev_new() need to manually add
their parent relationship with object_property_add_child().
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
hw/arm/highbank.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/arm/highbank.c b/hw/arm/highbank.c
index e6e27d69af..b8d702c82c 100644
--- a/hw/arm/highbank.c
+++ b/hw/arm/highbank.c
@@ -209,6 +209,7 @@ static void calxeda_init(MachineState *machine, enum
cxmachines machine_id)
cpuobj = object_new(machine->cpu_type);
cpu = ARM_CPU(cpuobj);
+ object_property_add_child(OBJECT(machine), "cpu[*]", cpuobj);
object_property_set_int(cpuobj, "psci-conduit", QEMU_PSCI_CONDUIT_SMC,
&error_abort);
--
2.41.0
- [PATCH v2 0/6] hw/arm/cortex-a: Check for CPU types in machine_run_board_init(), Philippe Mathieu-Daudé, 2024/01/23
- [PATCH v2 1/6] hw/arm/exynos: Add missing QOM parent for CPU cores, Philippe Mathieu-Daudé, 2024/01/23
- [PATCH v2 2/6] hw/arm/exynos: Check for CPU types in machine_run_board_init(), Philippe Mathieu-Daudé, 2024/01/23
- [PATCH v2 3/6] hw/arm/highbank: Add missing QOM parent for CPU cores,
Philippe Mathieu-Daudé <=
- [PATCH v2 4/6] hw/arm/highbank: Check for CPU types in machine_run_board_init(), Philippe Mathieu-Daudé, 2024/01/23
- [PATCH v2 5/6] hw/arm/vexpress: Check for CPU types in machine_run_board_init(), Philippe Mathieu-Daudé, 2024/01/23
- [PATCH v2 6/6] hw/arm/zynq: Check for CPU types in machine_run_board_init(), Philippe Mathieu-Daudé, 2024/01/23