]> git.ipfire.org Git - thirdparty/qemu.git/commit
migration: write zero pages when postcopy enabled
authorPrasad Pandit <pjp@fedoraproject.org>
Mon, 12 May 2025 12:51:22 +0000 (18:21 +0530)
committerPeter Xu <peterx@redhat.com>
Tue, 20 May 2025 15:26:32 +0000 (11:26 -0400)
commit249543d0c02d7645b8bcda552dad138769e96831
treeed88451ccd81582a91b1cca2147d640568fa44f5
parent371650534d44c8b27249ca615d908a037f75b048
migration: write zero pages when postcopy enabled

During multifd migration, zero pages are written if
they are migrated more than once.

This may result in a migration thread hang issue when
multifd and postcopy are enabled together.

When postcopy is enabled, always write zero pages as and
when they are migrated.

Signed-off-by: Prasad Pandit <pjp@fedoraproject.org>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20250512125124.147064-2-ppandit@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
migration/multifd-zero-page.c