@samitouri / QOSamiQemu / commits / d8ff81a0c5

migration: Rename postcopy_listen_thread_bh

Rename postcopy_listen_thread_bh to postcopy_incoming_complete_bh for a more robust naming scheme. This will allow fast snapshot load to use this bh funciton directly to cleanup the incoming state. Signed-off-by: Aadeshveer Singh <aadeshveer07@gmail.com> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juraj Marcin <jmarcin@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Signed-off-by: Fabiano Rosas <farosas@suse.de>

Aadeshveer Singh committed Aug 16, 2026 at 23:16 UTC d8ff81a0c58619a30eb17d0e36ff2d206c388692
1 file changed +2 -2
migration/postcopy-ram.c
+2 -2
@@ -2109,7 +2109,7 @@ bool postcopy_is_paused(MigrationStatus status)
2109 status == MIGRATION_STATUS_POSTCOPY_RECOVER_SETUP;
2110 }
2111
2112 -static void postcopy_listen_thread_bh(void *opaque)
2112 +static void postcopy_incoming_complete_bh(void *opaque)
2113 {
2114 MigrationState *s = migrate_get_current();
2115 MigrationIncomingState *mis = migration_incoming_get_current();
@@ -2217,7 +2217,7 @@ out:
2217 rcu_unregister_thread();
2218 postcopy_state_set(POSTCOPY_INCOMING_END);
2219
2220 - migration_bh_schedule(postcopy_listen_thread_bh, NULL);
2220 + migration_bh_schedule(postcopy_incoming_complete_bh, NULL);
2221
2222 object_unref(OBJECT(migr));
2223