diff options
author | Juan Quintela <quintela@redhat.com> | 2012-07-23 06:15:02 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2012-12-20 23:09:25 +0100 |
commit | dd217b8732b93d97c22fa70dc15a72d92a2b2380 (patch) | |
tree | 11a8aed85b6e5bb87e45b1196c8fcf2923bca7e8 /migration-unix.c | |
parent | 766bd1769e70835e0cc25f3f057f101619494b59 (diff) |
migration: make writes blocking
Move all the writes to the migration_thread, and make writings
blocking. Notice that are still using the iothread for everything
that we do.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration-unix.c')
-rw-r--r-- | migration-unix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/migration-unix.c b/migration-unix.c index f2f368c528..218835a7a4 100644 --- a/migration-unix.c +++ b/migration-unix.c @@ -60,6 +60,7 @@ static void unix_wait_for_connect(int fd, void *opaque) } else { DPRINTF("migrate connect success\n"); s->fd = fd; + socket_set_block(s->fd); migrate_fd_connect(s); } } |