diff options
author | Peter Xu <peterx@redhat.com> | 2022-03-31 11:08:45 -0400 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2022-04-21 19:36:46 +0100 |
commit | 08401c0426bc1a5ce4609afd1cda5dd39abbf9fa (patch) | |
tree | 900619a942159075bce57fba3293e73c5918a3e4 /migration/migration.h | |
parent | a39e933962314c9949d71c25f234e8a3dddc4b25 (diff) | |
download | qemu-08401c0426bc1a5ce4609afd1cda5dd39abbf9fa.zip qemu-08401c0426bc1a5ce4609afd1cda5dd39abbf9fa.tar.gz qemu-08401c0426bc1a5ce4609afd1cda5dd39abbf9fa.tar.bz2 |
migration: Allow migrate-recover to run multiple times
Previously migration didn't have an easy way to cleanup the listening
transport, migrate recovery only allows to execute once. That's done with a
trick flag in postcopy_recover_triggered.
Now the facility is already there.
Drop postcopy_recover_triggered and instead allows a new migrate-recover to
release the previous listener transport.
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20220331150857.74406-8-peterx@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/migration.h')
-rw-r--r-- | migration/migration.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/migration/migration.h b/migration/migration.h index f17ccc6..a863032 100644 --- a/migration/migration.h +++ b/migration/migration.h @@ -139,7 +139,6 @@ struct MigrationIncomingState { struct PostcopyBlocktimeContext *blocktime_ctx; /* notify PAUSED postcopy incoming migrations to try to continue */ - bool postcopy_recover_triggered; QemuSemaphore postcopy_pause_sem_dst; QemuSemaphore postcopy_pause_sem_fault; |