qemu-cr16/migration
Yuan Liu a523bc5216 multifd: bugfix for incorrect migration data with qatzip compression
When QPL compression is enabled on the migration channel and the same
dirty page changes from a normal page to a zero page in the iterative
memory copy, the dirty page will not be updated to a zero page again
on the target side, resulting in incorrect memory data on the source
and target sides.

The root cause is that the target side does not record the normal pages
to the receivedmap.

The solution is to add ramblock_recv_bitmap_set_offset in target side
to record the normal pages.

Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Reviewed-by: Jason Zeng <jason.zeng@intel.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-Id: <20241218091413.140396-4-yuan1.liu@intel.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
2025-01-09 17:40:27 -03:00
..
block-active.c migration/block: Rewrite disk activation 2025-01-09 17:38:57 -03:00
block-dirty-bitmap.c
channel-block.c
channel-block.h
channel.c
channel.h
colo-failover.c
colo-stubs.c
colo.c migration/block: Rewrite disk activation 2025-01-09 17:38:57 -03:00
cpu-throttle.c
dirtyrate.c
dirtyrate.h
exec.c
exec.h
fd.c
fd.h
file.c
file.h
global_state.c
meson.build migration/block: Rewrite disk activation 2025-01-09 17:38:57 -03:00
migration-hmp-cmds.c
migration-stats.c
migration-stats.h
migration.c migration/block: Rewrite disk activation 2025-01-09 17:38:57 -03:00
migration.h migration/block: Rewrite disk activation 2025-01-09 17:38:57 -03:00
multifd-nocomp.c multifd: bugfix for migration using compression methods 2025-01-09 17:40:15 -03:00
multifd-qatzip.c multifd: bugfix for incorrect migration data with qatzip compression 2025-01-09 17:40:27 -03:00
multifd-qpl.c multifd: bugfix for incorrect migration data with QPL compression 2025-01-09 17:40:21 -03:00
multifd-uadk.c migration/multifd: Fix compile error caused by page_size usage 2025-01-09 17:37:50 -03:00
multifd-zero-page.c
multifd-zlib.c
multifd-zstd.c
multifd.c migration/multifd: Fix compat with QEMU < 9.0 2025-01-09 17:38:35 -03:00
multifd.h migration/multifd: Cleanup src flushes on condition check 2025-01-09 17:38:27 -03:00
options.c Accel & Exec patch queue 2024-12-21 11:07:00 -05:00
options.h
page_cache.c
page_cache.h
postcopy-ram.c
postcopy-ram.h
qemu-file.c
qemu-file.h
ram.c migration/multifd: Document the reason to sync for save_setup() 2025-01-09 17:38:32 -03:00
ram.h migration/ram: Move RAM_SAVE_FLAG* into ram.h 2025-01-09 17:38:15 -03:00
rdma.c
rdma.h migration/ram: Move RAM_SAVE_FLAG* into ram.h 2025-01-09 17:38:15 -03:00
savevm.c migration/block: Rewrite disk activation 2025-01-09 17:38:57 -03:00
savevm.h
socket.c
socket.h
target.c
threadinfo.c
threadinfo.h
tls.c
tls.h
trace-events migration/block: Rewrite disk activation 2025-01-09 17:38:57 -03:00
trace.h
vmstate-types.c migration: Rename vmstate_info_nullptr 2025-01-09 17:39:38 -03:00
vmstate.c migration: Fix arrays of pointers in JSON writer 2025-01-09 17:39:54 -03:00
xbzrle.c
xbzrle.h
yank_functions.c
yank_functions.h