qemu/hw/block
Steve Sistare e56ba1878f pflash: fix cpr
During normal migration, new QEMU creates and initializes memory regions,
then loads the preserved contents of the region from vmstate.

During CPR, memory regions are preserved in place, then the realize
method initializes the regions contents, losing the old contents.  To
fix, skip the re-init during CPR.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Message-ID: <1741380954-341079-3-git-send-email-steven.sistare@oracle.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
2025-03-14 09:29:19 -03:00
..
dataplane include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
block.c pflash: fix cpr 2025-03-14 09:29:19 -03:00
cdrom.c Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
fdc-internal.h hw/block/fdc-sysbus: Move iomem from FDCtrl to FDCtrlSysBus 2024-02-14 06:09:32 -05:00
fdc-isa.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
fdc-sysbus.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2024-12-19 19:36:37 +01:00
fdc.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
hd-geometry.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
Kconfig hw/block: Remove ecc 2024-10-15 15:16:17 +01:00
m25p80.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
m25p80_sfdp.c hw/block/m25p80: Add SFDP table for w25q80bl flash 2024-10-24 07:57:47 +02:00
m25p80_sfdp.h hw/block/m25p80: Add SFDP table for w25q80bl flash 2024-10-24 07:57:47 +02:00
meson.build hw/block: Remove ecc 2024-10-15 15:16:17 +01:00
nand.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
pflash_cfi01.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
pflash_cfi02.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
swim.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
trace-events hw/pflash: implement update buffer for block writes 2024-01-19 12:28:59 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
vhost-user-blk.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
virtio-blk-common.c virtio-blk: add zoned storage emulation for zoned devices 2023-05-15 08:18:10 -04:00
virtio-blk.c virtio: extract iothread-vq-mapping.h API 2025-03-13 17:57:23 +01:00
xen-block.c hw/xen: Add "mode" parameter to xen-block devices 2025-03-10 13:27:30 +01:00
xen_blkif.h xen: Import other xen/io/*.h 2019-06-24 10:42:30 +01:00