hw/intc/arm_gicv3_common: Give no-migration-shift-bug subsection a needed function
commit78e9ddd75e79159ccb5f3506ac0359ce0df28183
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 6 Aug 2018 12:34:41 +0000 (6 13:34 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 6 Aug 2018 15:19:33 +0000 (6 16:19 +0100)
treee16f8e8b2fbef30390db55a1b4f4f6381788c24c
parent1fb57da72ae0886eba1234a2d98ddd10e88a9efc
hw/intc/arm_gicv3_common: Give no-migration-shift-bug subsection a needed function

Currently the migration code incorrectly treats a subsection with
no .needed function pointer as if it was the subsection list
terminator -- it is ignored and so is everything after it.
Work around this by giving vmstate_gicv3_gicd_no_migration_shift_bug
a 'needed' function that always returns true.

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-2-peter.maydell@linaro.org
hw/intc/arm_gicv3_common.c