summary refs log tree commit diff stats
path: root/scripts/render_block_graph.py
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2019-02-19 19:59:28 +0000
committerDr. David Alan Gilbert <dgilbert@redhat.com>2019-03-06 10:49:17 +0000
commitc3c5eae6ac69d9f7d4618407aa6c8ac5edc2267c (patch)
treebe1c6a583d3b8518feee6232cee8c862e89d6808 /scripts/render_block_graph.py
parentb5b6b2b912bbcd3953407da938a8f969577ad3a1 (diff)
downloadfocaccia-qemu-c3c5eae6ac69d9f7d4618407aa6c8ac5edc2267c.tar.gz
focaccia-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 'scripts/render_block_graph.py')
0 files changed, 0 insertions, 0 deletions