You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/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>
2 weeks ago
..
block-active.c migration/block: Rewrite disk activation 2 weeks ago
block-dirty-bitmap.c include: Rename sysemu/ -> system/ 1 month ago
channel-block.c io: follow coroutine AioContext in qio_channel_yield() 1 year ago
channel-block.h migration: introduce a QIOChannel impl for BlockDriverState VMState 3 years ago
channel.c migration: Fix migration_channel_read_peek() error path 1 year ago
channel.h migration: check magic value for deciding the mapping of channels 2 years ago
colo-failover.c migration/colo: Improve an x-colo-lost-heartbeat error message 2 years ago
colo-stubs.c migration/colo: make colo_incoming_co() return void 8 months ago
colo.c migration/block: Rewrite disk activation 2 weeks ago
cpu-throttle.c include: Rename sysemu/ -> system/ 1 month ago
dirtyrate.c include: Rename sysemu/ -> system/ 1 month ago
dirtyrate.h include: Rename sysemu/ -> system/ 1 month ago
exec.c migration: simplify exec migration functions 11 months ago
exec.h migration: convert exec backend to accept MigrateAddress. 1 year ago
fd.c migration: Allow pipes to keep working for fd migrations 2 months ago
fd.h migration: Revert mapped-ram multifd support to fd: URI 10 months ago
file.c migration/multifd: Pass in MultiFDPages_t to file_write_ramblock_iov 5 months ago
file.h migration/multifd: Pass in MultiFDPages_t to file_write_ramblock_iov 5 months ago
global_state.c include: Rename sysemu/ -> system/ 1 month ago
meson.build migration/block: Rewrite disk activation 2 weeks ago
migration-hmp-cmds.c include: Rename sysemu/ -> system/ 1 month ago
migration-stats.c migration: migration_rate_limit_reset() don't need the QEMUFile 1 year ago
migration-stats.h migration: Remove transferred atomic counter 1 year ago
migration.c migration/block: Rewrite disk activation 2 weeks ago
migration.h migration/block: Rewrite disk activation 2 weeks ago
multifd-nocomp.c multifd: bugfix for migration using compression methods 2 weeks ago
multifd-qatzip.c multifd: bugfix for incorrect migration data with qatzip compression 2 weeks ago
multifd-qpl.c multifd: bugfix for incorrect migration data with QPL compression 2 weeks ago
multifd-uadk.c migration/multifd: Fix compile error caused by page_size usage 2 weeks ago
multifd-zero-page.c migration/multifd: Move pages accounting into multifd_send_zero_page_detect() 5 months ago
multifd-zlib.c migration/multifd: Make MultiFDMethods const 5 months ago
multifd-zstd.c migration/multifd: Fix loop conditions in multifd_zstd_send_prepare and multifd_zstd_recv 4 months ago
multifd.c migration/multifd: Fix compat with QEMU < 9.0 2 weeks ago
multifd.h migration/multifd: Cleanup src flushes on condition check 2 weeks ago
options.c Accel & Exec patch queue 1 month ago
options.h migration: Use device_class_set_props_n 1 month ago
page_cache.c migration: Fix cache_init()'s "Failed to allocate" error messages 4 years ago
page_cache.h migration: Clean up signed vs. unsigned XBZRLE cache-size 4 years ago
postcopy-ram.c include: Rename sysemu/ -> system/ 1 month ago
postcopy-ram.h migration/postcopy: Add postcopy-recover-setup phase 7 months ago
qemu-file.c migration: remove unnecessary zlib dependency 8 months ago
qemu-file.h migration: Remove non-multifd compression 9 months ago
ram.c migration/multifd: Document the reason to sync for save_setup() 2 weeks ago
ram.h migration/ram: Move RAM_SAVE_FLAG* into ram.h 2 weeks ago
rdma.c migration/rdma: Fix a memory issue for migration 11 months ago
rdma.h migration/ram: Move RAM_SAVE_FLAG* into ram.h 2 weeks ago
savevm.c migration/block: Rewrite disk activation 2 weeks ago
savevm.h migration: Add Error** argument to qemu_savevm_state_setup() 9 months ago
socket.c migration: Remove unused socket_send_channel_create_sync 4 months ago
socket.h migration: Remove unused socket_send_channel_create_sync 4 months ago
target.c migration: Add migration prefix to functions in target.c 1 year ago
threadinfo.c migration/multifd: Protect accesses to migration_threads 2 years ago
threadinfo.h migration/multifd: Protect accesses to migration_threads 2 years ago
tls.c migration: Drop unused parameter for migration_tls_client_create() 2 years ago
tls.h migration: Drop unused parameter for migration_tls_client_create() 2 years ago
trace-events migration/block: Rewrite disk activation 2 weeks ago
trace.h trace: switch position of headers to what Meson requires 4 years ago
vmstate-types.c migration: Rename vmstate_info_nullptr 2 weeks ago
vmstate.c migration: Fix arrays of pointers in JSON writer 2 weeks ago
xbzrle.c migration/xbzrle: Use i386 host/cpuinfo.h 2 years ago
xbzrle.h migration/xbzrle: Use i386 host/cpuinfo.h 2 years ago
yank_functions.c migration/yank: Use channel features 12 months ago
yank_functions.h migration: Move the yank unregister of channel_close out 4 years ago