mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
eeeb48ee33
commit
01ee5e3556
|
@ -3625,12 +3625,6 @@ static void migration_iteration_finish(MigrationState *s)
|
||||||
"COLO enabled", __func__);
|
"COLO enabled", __func__);
|
||||||
}
|
}
|
||||||
migrate_start_colo_process(s);
|
migrate_start_colo_process(s);
|
||||||
/* Fallthrough */
|
|
||||||
case MIGRATION_STATUS_ACTIVE:
|
|
||||||
/*
|
|
||||||
* We should really assert here, but since it's during
|
|
||||||
* migration, let's try to reduce the usage of assertions.
|
|
||||||
*/
|
|
||||||
s->vm_was_running = true;
|
s->vm_was_running = true;
|
||||||
/* Fallthrough */
|
/* Fallthrough */
|
||||||
case MIGRATION_STATUS_FAILED:
|
case MIGRATION_STATUS_FAILED:
|
||||||
|
|
Loading…
Reference in New Issue