diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2019-02-19 19:59:28 +0000 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2019-03-06 10:49:17 +0000 |
commit | c3c5eae6ac69d9f7d4618407aa6c8ac5edc2267c (patch) | |
tree | be1c6a583d3b8518feee6232cee8c862e89d6808 /qom | |
parent | b5b6b2b912bbcd3953407da938a8f969577ad3a1 (diff) |
migration: Fix cancel state
During a cancelled migration there's a race where the fd can
go into an error state before we get back around the migration loop
and migration_detect_error transitions from cancelling->failed.
Check for cancelled/cancelling and don't change the state.
Red Hat bug: https://bugzilla.redhat.com/show_bug.cgi?id=1608649
Fixes: b23c2ade250
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20190219195928.12289-1-dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'qom')
0 files changed, 0 insertions, 0 deletions