diff options
author | Juan Quintela <quintela@redhat.com> | 2018-05-23 11:14:11 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2018-05-25 15:29:47 +0200 |
commit | 0efc91423a77ba6dc4a2f6d96a1ae1f5d3d958a8 (patch) | |
tree | 3aa13f76b50207b9a9a699b68b55200008a67a14 /migration/fd.c | |
parent | 5a5c383b1373aeb6c87a0d6060f6c3dc7c53082b (diff) |
migration: fix exec/fd migrations
Commit:
commit 36c2f8be2c4eb0003ac77a14910842b7ddd7337e
Author: Juan Quintela <quintela@redhat.com>
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 <kwolf@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Tested-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20180523091411.1073-1-quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/fd.c')
-rw-r--r-- | migration/fd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/migration/fd.c b/migration/fd.c index 9a380bbbc4..fee34ffdc0 100644 --- a/migration/fd.c +++ b/migration/fd.c @@ -17,6 +17,7 @@ #include "qemu/osdep.h" #include "channel.h" #include "fd.h" +#include "migration.h" #include "monitor/monitor.h" #include "io/channel-util.h" #include "trace.h" @@ -48,6 +49,9 @@ static gboolean fd_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; } |