* [PATCH] migration: Update comments mentioning qmp_migrate_finish
@ 2026-02-02 12:41 Fabiano Rosas
2026-02-02 16:19 ` Peter Xu
0 siblings, 1 reply; 2+ messages in thread
From: Fabiano Rosas @ 2026-02-02 12:41 UTC (permalink / raw)
To: qemu-devel; +Cc: Peter Xu
The qmp_migrate_finish function was recently removed in commit
2379a04e60 ("migration: Remove qmp_migrate_finish"), update comments
that mention it.
Signed-off-by: Fabiano Rosas <farosas@suse.de>
---
migration/migration.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/migration/migration.c b/migration/migration.c
index b103a82fc0..1f5c289d68 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -1469,8 +1469,8 @@ void migration_cancel(void)
}
/*
- * If qmp_migrate_finish has not been called, then there is no path that
- * will complete the cancellation. Do it now.
+ * If migration_connect_outgoing has not been called, then there
+ * is no path that will complete the cancellation. Do it now.
*/
if (setup && !s->to_dst_file) {
migrate_set_state(&s->state, MIGRATION_STATUS_CANCELLING,
@@ -2051,11 +2051,12 @@ void qmp_migrate(const char *uri, bool has_channels,
* For cpr-transfer, the target may not be listening yet on the migration
* channel, because first it must finish cpr_load_state. The target tells
* us it is listening by closing the cpr-state socket. Wait for that HUP
- * event before connecting in qmp_migrate_finish.
+ * event before connecting in migration_connect_outgoing.
*
* The HUP could occur because the target fails while reading CPR state,
* in which case the target will not listen for the incoming migration
- * connection, so qmp_migrate_finish will fail to connect, and then recover.
+ * connection, so migration_connect_outgoing will fail to connect,
+ * and then recover.
*/
if (migrate_mode() == MIG_MODE_CPR_TRANSFER) {
cpr_transfer_add_hup_watch(s, migration_connect_outgoing_cb,
--
2.51.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] migration: Update comments mentioning qmp_migrate_finish
2026-02-02 12:41 [PATCH] migration: Update comments mentioning qmp_migrate_finish Fabiano Rosas
@ 2026-02-02 16:19 ` Peter Xu
0 siblings, 0 replies; 2+ messages in thread
From: Peter Xu @ 2026-02-02 16:19 UTC (permalink / raw)
To: Fabiano Rosas; +Cc: qemu-devel
On Mon, Feb 02, 2026 at 09:41:12AM -0300, Fabiano Rosas wrote:
> The qmp_migrate_finish function was recently removed in commit
> 2379a04e60 ("migration: Remove qmp_migrate_finish"), update comments
> that mention it.
>
> Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Peter Xu <peterx@redhat.com>
--
Peter Xu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-02 16:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-02 12:41 [PATCH] migration: Update comments mentioning qmp_migrate_finish Fabiano Rosas
2026-02-02 16:19 ` Peter Xu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.