diff options
| author | Peter Maydell | 2018-08-06 14:34:43 +0200 |
|---|---|---|
| committer | Peter Maydell | 2018-08-06 17:19:33 +0200 |
| commit | 7b69454a12510dc84b71c292214c364e499609e7 (patch) | |
| tree | 10d3dde64842a05a26a100bbf458df4f9db76b1e /scripts/switch-timer-api | |
| parent | hw/intc/arm_gicv3_common: Combine duplicate .subsections in vmstate_gicv3_cpu (diff) | |
| download | qemu-7b69454a12510dc84b71c292214c364e499609e7.tar.gz qemu-7b69454a12510dc84b71c292214c364e499609e7.tar.xz qemu-7b69454a12510dc84b71c292214c364e499609e7.zip | |
target/arm: Add dummy needed functions to M profile vmstate subsections
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 various M profile vmstate structs
a 'needed' function that always returns true.
We reuse m_needed() for this, since it's always true here.
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-4-peter.maydell@linaro.org
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
