mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
hw/arm/highbank: Add missing QOM parent for CPU cores
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> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Gavin Shan <gshan@redhat.com> Message-id: 20240129151828.59544-4-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
56d69aaf51
commit
6a4e61170f
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue