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

2012-12-14 Thread Juan Quintela
Paolo Bonzini wrote: > Il 21/09/2012 16:08, Juan Quintela ha scritto: >> -s->fd = inet_connect(host_port, false, &in_progress, errp); >> +s->fd = inet_connect(host_port, true, &in_progress, errp); > > This makes the connect operation blocking. > > Does this mean that Orit's patches for non

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

2012-09-21 Thread Paolo Bonzini
Il 21/09/2012 16:08, Juan Quintela ha scritto: > -s->fd = inet_connect(host_port, false, &in_progress, errp); > +s->fd = inet_connect(host_port, true, &in_progress, errp); This makes the connect operation blocking. Does this mean that Orit's patches for non-blocking connect are not useful

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

2012-09-21 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 | 2 +- migration-unix.c | 2 -- migration.c