Revisão | 01ee5e355620ab1cc356964472f89cfb89cddc6d (tree) |
---|---|
Hora | 2022-01-28 23:38:23 |
Autor | Zhang Chen <chen.zhang@inte...> |
Commiter | Juan Quintela |
migration/migration.c: Remove the MIGRATION_STATUS_ACTIVE when migration finished
The MIGRATION_STATUS_ACTIVE indicates that migration is running.
Remove it to be handled by the default operation,
It should be part of the unknown ending states.
Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
@@ -3625,12 +3625,6 @@ static void migration_iteration_finish(MigrationState *s) | ||
3625 | 3625 | "COLO enabled", __func__); |
3626 | 3626 | } |
3627 | 3627 | migrate_start_colo_process(s); |
3628 | - /* Fallthrough */ | |
3629 | - case MIGRATION_STATUS_ACTIVE: | |
3630 | - /* | |
3631 | - * We should really assert here, but since it's during | |
3632 | - * migration, let's try to reduce the usage of assertions. | |
3633 | - */ | |
3634 | 3628 | s->vm_was_running = true; |
3635 | 3629 | /* Fallthrough */ |
3636 | 3630 | case MIGRATION_STATUS_FAILED: |