diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2018-08-06 13:34:44 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2018-08-06 16:19:33 +0100 |
| commit | 326049cc8e6079d1ea49dc4b415b8112f0c995bd (patch) | |
| tree | 8306c9fd2971773f46f34d525d73fd2d1c61c5ef /scripts/qapi/visit.py | |
| parent | 7b69454a12510dc84b71c292214c364e499609e7 (diff) | |
| download | focaccia-qemu-326049cc8e6079d1ea49dc4b415b8112f0c995bd.tar.gz focaccia-qemu-326049cc8e6079d1ea49dc4b415b8112f0c995bd.zip | |
hw/intc/arm_gicv3_common: Move post_load hooks to top-level VMSD
Contrary to the the impression given in docs/devel/migration.rst, the migration code does not run the pre_load hook for a subsection unless the subsection appears on the wire, and so this is not a place where you can set the default value for state for the "subsection not present" case. Instead this needs to be done in a pre_load hook for whatever is the parent VMSD of the subsection. We got this wrong in two of the subsection definitions in the GICv3 migration structs; fix this. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Message-id: 20180806123445.1459-5-peter.maydell@linaro.org
Diffstat (limited to 'scripts/qapi/visit.py')
0 files changed, 0 insertions, 0 deletions