migration: rebuild channel on source
commitd3e35b8f6248eab2c3d412198a487ae49706b214
authorPeter Xu <peterx@redhat.com>
Wed, 2 May 2018 10:47:24 +0000 (2 18:47 +0800)
committerJuan Quintela <quintela@redhat.com>
Tue, 15 May 2018 18:55:19 +0000 (15 20:55 +0200)
tree5af16b267e941f391fb212552af7412bdab4f88b
parent7a4da28b26382bbfc01847dcb7ac01de99f0a1f0
migration: rebuild channel on source

This patch detects the "resume" flag of migration command, rebuild the
channels only if the flag is set.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180502104740.12123-9-peterx@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/migration.c