From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSxaO-0008PV-JB for qemu-devel@nongnu.org; Mon, 29 Oct 2012 18:13:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSxaN-0006pK-J3 for qemu-devel@nongnu.org; Mon, 29 Oct 2012 18:13:32 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:45453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSxaN-0006pC-CP for qemu-devel@nongnu.org; Mon, 29 Oct 2012 18:13:31 -0400 Received: by mail-pb0-f45.google.com with SMTP id rp2so4321791pbb.4 for ; Mon, 29 Oct 2012 15:13:29 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <508EFF83.5020908@redhat.com> Date: Mon, 29 Oct 2012 23:13:23 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1351519903-26607-1-git-send-email-quintela@redhat.com> <1351519903-26607-8-git-send-email-quintela@redhat.com> <87objlp97t.fsf@blackfin.pond.sub.org> <87r4ohkwvj.fsf@elfo.mitica> In-Reply-To: <87r4ohkwvj.fsf@elfo.mitica> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 07/18] migration: make writes blocking List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: quintela@redhat.com Cc: owasserm@redhat.com, avi@redhat.com, mtosatti@redhat.com, Markus Armbruster , qemu-devel@nongnu.org Il 29/10/2012 18:32, Juan Quintela ha scritto: >> > New users can't "just add socket_set_nonblock()". They'd have to add it >> > right where you deleted it: between qemu_socket() and connect(). Else >> > the connect() is blocking. > Grrr. > > So, is there any way to make a connection that is non-blocking, but then > writes are blocking? socket_set_block. Paolo