These patches implement migration support for pflash_cfi01. The first patch just drops some useless state so we don't have to think about it for migration.
NB that pflash_cfi01 is used in the x86 pc model. I think this means that migration while the BIOS is accessing the flash wouldn't have worked properly. Since migration from a device with no vmstate to one with vmstate works OK this shouldn't break cross-version migration. However x86 maintainers may wish to review and confirm this for themselves... Peter Maydell (2): pflash_cfi01: Drop unused 'bypass' field pflash_cfi01: Implement migration support hw/pflash_cfi01.c | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) -- 1.7.9.5