diff options
author | Peter Xu <peterx@redhat.com> | 2025-06-13 10:07:56 -0400 |
---|---|---|
committer | Fabiano Rosas <farosas@suse.de> | 2025-07-11 10:37:36 -0300 |
commit | 57c43e52bdf7f97c7555f408bddbc0b95e081844 (patch) | |
tree | 0000ccd648738caa6cb018b1fc3917c1f04ced93 /include | |
parent | d7530a9682b7cdac1859dcf1e28573415d2afd56 (diff) | |
download | qemu-57c43e52bdf7f97c7555f408bddbc0b95e081844.zip qemu-57c43e52bdf7f97c7555f408bddbc0b95e081844.tar.gz qemu-57c43e52bdf7f97c7555f408bddbc0b95e081844.tar.bz2 |
migration: Rename save_live_complete_precopy to save_complete
Now after merging the precopy and postcopy version of complete() hook,
rename the precopy version from save_live_complete_precopy() to
save_complete().
Dropping the "live" when at it, because it's in most cases not live when
happening (in precopy).
No functional change intended.
Reviewed-by: Juraj Marcin <jmarcin@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20250613140801.474264-7-peterx@redhat.com
[peterx: squash the fixup that covers a few more doc spots, per Juraj]
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/migration/register.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/migration/register.h b/include/migration/register.h index e022195..2a26e76 100644 --- a/include/migration/register.h +++ b/include/migration/register.h @@ -78,7 +78,7 @@ typedef struct SaveVMHandlers { void (*save_cleanup)(void *opaque); /** - * @save_live_complete_precopy + * @save_complete * * Transmits the last section for the device containing any * remaining data at the end phase of migration. @@ -95,7 +95,7 @@ typedef struct SaveVMHandlers { * * Returns zero to indicate success and negative for error */ - int (*save_live_complete_precopy)(QEMUFile *f, void *opaque); + int (*save_complete)(QEMUFile *f, void *opaque); /** * @save_live_complete_precopy_thread (invoked in a separate thread) @@ -103,7 +103,7 @@ typedef struct SaveVMHandlers { * Called at the end of a precopy phase from a separate worker thread * in configurations where multifd device state transfer is supported * in order to perform asynchronous transmission of the remaining data in - * parallel with @save_live_complete_precopy handlers. + * parallel with @save_complete handlers. * When postcopy is enabled, devices that support postcopy will skip this * step. * |