diff options
| author | Peter Xu <peterx@redhat.com> | 2025-06-13 10:07:55 -0400 |
|---|---|---|
| committer | Fabiano Rosas <farosas@suse.de> | 2025-07-11 10:37:35 -0300 |
| commit | d7530a9682b7cdac1859dcf1e28573415d2afd56 (patch) | |
| tree | de714881a92b33164aacf52354607879dc06fccf /migration/ram.c | |
| parent | 2145f38c31e940abca19bb8a9dc0d2549a40df14 (diff) | |
| download | focaccia-qemu-d7530a9682b7cdac1859dcf1e28573415d2afd56.tar.gz focaccia-qemu-d7530a9682b7cdac1859dcf1e28573415d2afd56.zip | |
migration: Drop save_live_complete_postcopy hook
The hook is only defined in two vmstate users ("ram" and "block dirty
bitmap"), meanwhile both of them define the hook exactly the same as the
precopy version. Hence, this postcopy version isn't needed.
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-6-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'migration/ram.c')
| -rw-r--r-- | migration/ram.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/migration/ram.c b/migration/ram.c index 2140785a05..6bb4f13031 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -4548,7 +4548,6 @@ void postcopy_preempt_shutdown_file(MigrationState *s) static SaveVMHandlers savevm_ram_handlers = { .save_setup = ram_save_setup, .save_live_iterate = ram_save_iterate, - .save_live_complete_postcopy = ram_save_complete, .save_live_complete_precopy = ram_save_complete, .has_postcopy = ram_has_postcopy, .state_pending_exact = ram_state_pending_exact, |