hw/intc/gicv3: Add data fields for virtualization support
commit4eb833b5dfcfda23877b03546915c0f45613b7b5
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Jan 2017 11:15:09 +0000 (20 11:15 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Jan 2017 11:15:09 +0000 (20 11:15 +0000)
tree0029d678fad5edc755e00dd774f331cb93d9a81e
parente69d2fa0650aec5e4e1a757c184ae294c902949a
hw/intc/gicv3: Add data fields for virtualization support

As the first step in adding support for the virtualization
extensions to the GICv3 emulation:
 * add the necessary data fields to the state structures
 * add the fields to the migration state, as a subsection
   which is only present if virtualization is enabled

The use of a subsection means we retain migration
compatibility as EL2 is not enabled on any CPUs currently.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Acked-by: Alistair Francis <alistair.francis@xilinx.com>
Message-id: 1483977924-14522-8-git-send-email-peter.maydell@linaro.org
hw/intc/arm_gicv3_common.c
hw/intc/arm_gicv3_cpuif.c
include/hw/intc/arm_gicv3_common.h