Re: [Qemu-devel] [PATCH 07/30] migration: make writes blocking

2012-11-12 Thread Paolo Bonzini
Il 18/10/2012 09:30, Juan Quintela ha scritto: > @@ -247,10 +247,6 @@ static int migrate_fd_cleanup(MigrationState *s) > { > int ret = 0; > > -if (s->fd != -1) { > -qemu_set_fd_handler2(s->fd, NULL, NULL, NULL, NULL); > -} > - > if (s->file) { > DPRINTF("closing

[Qemu-devel] [PATCH 07/30] migration: make writes blocking

2012-10-18 Thread Juan Quintela
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 --- migration-exec.c | 2 -- migration-fd.c | 6 -- migration-tcp.c | 19 ++- migration-unix.c | 2