aboutsummaryrefslogtreecommitdiff
path: root/migration/migration.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2018-02-19 18:59:02 +0100
committerJuan Quintela <quintela@redhat.com>2018-05-15 20:24:27 +0200
commit62c1e0ca739008aaec6d3a18456f479bed61713b (patch)
tree0c146a0fa783a26db1586d74b46f87c3a7079007 /migration/migration.c
parent667707078d8d365d449d1908805c09506f67825f (diff)
migration: Be sure all recv channels are created
We need them before we start migration. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'migration/migration.c')
-rw-r--r--migration/migration.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/migration/migration.c b/migration/migration.c
index 4a7959c111..8e5b421b97 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -462,7 +462,11 @@ void migration_ioc_process_incoming(QIOChannel *ioc)
*/
bool migration_has_all_channels(void)
{
- return true;
+ bool all_channels;
+
+ all_channels = multifd_recv_all_channels_created();
+
+ return all_channels;
}
/*