From 0efc91423a77ba6dc4a2f6d96a1ae1f5d3d958a8 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 23 May 2018 11:14:11 +0200 Subject: migration: fix exec/fd migrations Commit: commit 36c2f8be2c4eb0003ac77a14910842b7ddd7337e Author: Juan Quintela Date: Wed Mar 7 08:40:52 2018 +0100 migration: Delay start of migration main routines Missed tcp and fd transports. This fix its. Reported-by: Kevin Wolf Signed-off-by: Juan Quintela Tested-by: Kevin Wolf Message-Id: <20180523091411.1073-1-quintela@redhat.com> Signed-off-by: Juan Quintela --- migration/exec.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'migration/exec.c') diff --git a/migration/exec.c b/migration/exec.c index 9d0f82f1f0..0bbeb63c97 100644 --- a/migration/exec.c +++ b/migration/exec.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "channel.h" #include "exec.h" +#include "migration.h" #include "io/channel-command.h" #include "trace.h" @@ -48,6 +49,9 @@ static gboolean exec_accept_incoming_migration(QIOChannel *ioc, { migration_channel_process_incoming(ioc); object_unref(OBJECT(ioc)); + if (!migrate_use_multifd()) { + migration_incoming_process(); + } return G_SOURCE_REMOVE; } -- cgit v1.2.3