On Thu, 27 Aug 2026 at 20:40, Om Barkare <[email protected]> wrote: > > From: OmBarkare <[email protected]> > > Device did not have migration support, which would result in its > internal state being lost during migration or saves. > > Add VMStateDescription to serialize state and set memory regions > romd_mode to rom_mode field in post load hook > > total_sectors was changed from uint32_t to int32_t to satisfy the > VMSTATE_BITMAP macro's _field_size argument, but that is OK because > it's a value is calculated using the size of the flash and it will > never be large enough to overflow int32_t > > The only boards using pflash_cfi02 are the sh4 r2d and > the arm canon-a1100, musicpal and xilinx-zynq-a9 > > Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/4157 > > Suggested-by: Peter Maydell <[email protected]> > Signed-off-by: Om Barkare <[email protected]>
Reviewed-by: Peter Maydell <[email protected]> thanks -- PMM
