xlnx-zynqmp: Delay realization of GIC until post CPU realization
commit0776d9679da63bcfddd41dce0f1b9ae127542cb3
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Mon, 6 Jun 2016 15:59:30 +0000 (6 16:59 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 6 Jun 2016 15:59:30 +0000 (6 16:59 +0100)
tree8344ab861dc5d2c8ad327e5b0a478471b5817e1f
parent6ed92b14f610c78aea52b087d6bdc59a3f2de72a
xlnx-zynqmp: Delay realization of GIC until post CPU realization

Delay the realization of the GIC until after CPUs are
realized. This is needed for KVM as the in-kernel GIC
model will fail if it is realized with no available CPUs.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Message-id: 1464173555-12800-4-git-send-email-edgar.iglesias@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/xlnx-zynqmp.c