migration: Fix block migration flag case
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 16 Mar 2018 20:21:14 +0000 (20:21 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 23 Mar 2018 18:24:11 +0000 (18:24 +0000)
commit09576e74dbe697c5f0a7bc2ad7b59601457a2ff4
tree3f5bb24dd6151c9663c03792a848d612157a28e4
parentb47d1e9fe09834d0640aedc002384b0600739075
migration: Fix block migration flag case

Fix the case where when a migration with a bad protocol is tried,
we leave the block migration capability set.

(This is a cut down version of my 'migration: Fix block failure cases'
where it's other case was fixed by Peter's dd0ee30caeebbd )

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20180316202114.32345-1-dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/migration.c