]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm/xlnx-zynqmp: Realize cluster after putting RPUs in it
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 29 Jan 2019 11:46:05 +0000 (11:46 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 29 Jan 2019 11:46:05 +0000 (11:46 +0000)
commitfa434424652ecfd3efba39e11ff7a1a560943abd
tree99e0d1bcd5879550191d624b7b26c2db95aec7c0
parentf95c4bffdc4c53b29f89762cab4adc5a43f95daf
hw/arm/xlnx-zynqmp: Realize cluster after putting RPUs in it

Currently the cluster implementation doesn't have any constraints
on the ordering of realizing the TYPE_CPU_CLUSTER and populating it
with child objects. We want to impose a constraint that realize
must happen only after all the child objects are added, so move
the realize of rpu_cluster. (The apu_cluster is already
realized after child population.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 20190121152218.9592-2-peter.maydell@linaro.org
hw/arm/xlnx-zynqmp.c