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/include/migration
Peter Xu 1d48111601 migration: Add save_postcopy_prepare() savevm handler
Add a savevm handler for a module to opt-in sending extra sections right
before postcopy starts, and before VM is stopped.

RAM will start to use this new savevm handler in the next patch to do flush
and sync for multifd pages.

Note that we choose to do it before VM stopped because the current only
potential user is not sensitive to VM status, so doing it before VM is
stopped is preferred to enlarge any postcopy downtime.

It is still a bit unfortunate that we need to introduce such a new savevm
handler just for the only use case, however it's so far the cleanest.

Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Prasad Pandit <pjp@fedoraproject.org>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Message-ID: <20250411114534.3370816-4-ppandit@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
1 month ago
..
blocker.h migration: per-mode blockers 2 years ago
client-options.h migration: Add MIG_CMD_SWITCHOVER_START and its load handler 3 months ago
colo.h migration/colo: make colo_incoming_co() return void 1 year ago
cpr.h migration: cpr_is_incoming 3 months ago
cpu.h
failover.h
global_state.h migration: never fail in global_state_store() 2 years ago
misc.h migration: Add save_live_complete_precopy_thread handler 3 months ago
qemu-file-types.h migration/qemu-file: add utility methods for working with seekable channels 1 year ago
register.h migration: Add save_postcopy_prepare() savevm handler 1 month ago
snapshot.h migration: preserve suspended for snapshot 1 year ago
vmstate.h migration: VMSTATE_FD 4 months ago