diff options
author | Dr. David Alan Gilbert | 2019-02-19 20:59:28 +0100 |
---|---|---|
committer | Dr. David Alan Gilbert | 2019-03-06 11:49:17 +0100 |
commit | c3c5eae6ac69d9f7d4618407aa6c8ac5edc2267c (patch) | |
tree | be1c6a583d3b8518feee6232cee8c862e89d6808 /include | |
parent | Merge remote-tracking branch 'remotes/amarkovic/tags/mips-queue-mar-05-2019' ... (diff) | |
download | qemu-c3c5eae6ac69d9f7d4618407aa6c8ac5edc2267c.tar.gz qemu-c3c5eae6ac69d9f7d4618407aa6c8ac5edc2267c.tar.xz qemu-c3c5eae6ac69d9f7d4618407aa6c8ac5edc2267c.zip |
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 'include')
0 files changed, 0 insertions, 0 deletions