diff options
author | Zhimin Feng <fengzhimin1@huawei.com> | 2020-01-14 17:43:09 +0800 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2020-02-13 10:52:58 +0100 |
commit | 8958338b10abcb346b54a8038a491fda2db1c853 (patch) | |
tree | 35d480d328ea67fe352e36a2da8461f0ad52064c /migration/savevm.c | |
parent | e18e5501d8ac692d32657a3e1ef545b14e72b730 (diff) |
migration: Maybe VM is paused when migration is cancelled
If the migration is cancelled when it is in the completion phase,
the migration state is set to MIGRATION_STATUS_CANCELLING.
The VM maybe wait for the 'pause_sem' semaphore in migration_maybe_pause
function, so that VM always is paused.
Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Zhimin Feng <fengzhimin1@huawei.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/savevm.c')
0 files changed, 0 insertions, 0 deletions