]> git.ipfire.org Git - thirdparty/qemu.git/commit
migration: enable multifd and postcopy together
authorPrasad Pandit <pjp@fedoraproject.org>
Mon, 12 May 2025 12:51:23 +0000 (18:21 +0530)
committerPeter Xu <peterx@redhat.com>
Tue, 20 May 2025 15:26:32 +0000 (11:26 -0400)
commite27418861288285d20352448fef4491a68223d39
tree7d104af41ac3feb1bcc68151cd7d1fe24997a728
parent249543d0c02d7645b8bcda552dad138769e96831
migration: enable multifd and postcopy together

Enable Multifd and Postcopy migration together.
The migration_ioc_process_incoming() routine checks
magic value sent on each channel and helps to properly
setup multifd and postcopy channels.

The Precopy and Multifd threads work during the initial
guest RAM transfer. When migration moves to the Postcopy
phase, the multifd threads cease to send data on multifd
channels and Postcopy threads on the destination
request/pull data from the source side.

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