hw/intc/arm_gic: Initialize the vgic in the realize function
commitf0bb55890a173cb1e9e87d608647cac70f8f9dd4
authorEric Auger <eric.auger@linaro.org>
Mon, 16 Mar 2015 12:30:47 +0000 (16 12:30 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 16 Mar 2015 12:30:47 +0000 (16 12:30 +0000)
treeb676de0e75f0cd16605901be35c1d88e926b331f
parentd8e052b387635639a6ba4a09a7874fd2f113b218
hw/intc/arm_gic: Initialize the vgic in the realize function

This patch forces vgic initialization in the vgic realize function.
It uses a new group/attribute that allows such operation:
KVM_DEV_ARM_VGIC_GRP_CTRL/KVM_DEV_ARM_VGIC_CTRL_INIT

This earlier initialization allows, for example, to setup VFIO
signaling and irqfd after vgic initialization, on a reset notifier.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Message-id: 1426094226-8515-1-git-send-email-eric.auger@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/arm_gic_kvm.c