diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2018-08-06 12:57:33 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-08-06 12:57:33 +0100 |
commit | 5127ca6f8b866e7c5bbe6a80924134b7bb03bd84 (patch) | |
tree | 1f3b29616590af5a4c99272bbf52e11e32d8a0c5 /qemu-nbd.c | |
parent | 3f57d404135350a7638a90a85abcd7bd3cf37bc5 (diff) |
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>
Diffstat (limited to 'qemu-nbd.c')
0 files changed, 0 insertions, 0 deletions