hw/intc/arm_gicv3_common: Combine duplicate .subsections in vmstate_gicv3_cpu
commitadc4fda6d564a9a7e3fff4bdafcee131fdac133a
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 6 Aug 2018 12:34:42 +0000 (6 13:34 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 6 Aug 2018 15:19:33 +0000 (6 16:19 +0100)
tree4d98b35e04d324b7416f6172d371ee76a0991c7e
parent78e9ddd75e79159ccb5f3506ac0359ce0df28183
hw/intc/arm_gicv3_common: Combine duplicate .subsections in vmstate_gicv3_cpu

Commit 6692aac411199064 accidentally introduced a second initialization
of the .subsections field of vmstate_gicv3_cpu, instead of adding
the new subsection to the existing list. The effect of this was
probably that migration of GICv3 with virtualization enabled was
broken (or alternatively that migration of ICC_SRE_EL1 was broken,
depending on which of the two initializers the compiler used).
Combine the two into a single list.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180806123445.1459-3-peter.maydell@linaro.org
hw/intc/arm_gicv3_common.c