Received: from eggs.gnu.org ([208.118.235.92]:53758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOVmj-0004Vk-UH for qemu-devel@nongnu.org; Wed, 17 Oct 2012 11:43:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TOVme-00060x-8y for qemu-devel@nongnu.org; Wed, 17 Oct 2012 11:43:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:63405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOVmd-00060n-Ve for qemu-devel@nongnu.org; Wed, 17 Oct 2012 11:43:48 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q9HFhlq9023020 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 17 Oct 2012 11:43:47 -0400 From: Markus Armbruster References: <1349877786-23514-1-git-send-email-pbonzini@redhat.com> <1349877786-23514-9-git-send-email-pbonzini@redhat.com> <87zk3lxiok.fsf@blackfin.pond.sub.org> <507EC5D2.4050500@redhat.com> Date: Wed, 17 Oct 2012 17:43:45 +0200 In-Reply-To: <507EC5D2.4050500@redhat.com> (Paolo Bonzini's message of "Wed, 17 Oct 2012 16:50:58 +0200") Message-ID: <87k3upumry.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 08/25] migration (outgoing): add error propagation for all protocols List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, lcapitulino@redhat.com Paolo Bonzini writes: > Il 17/10/2012 16:43, Markus Armbruster ha scritto: >>> > Error propagation is already there for socket backends, even though >>> > it is (and remains) incomplete because no Error is passed to the >>> > NonBlockingConnectHandler. >> Why is that a problem? > > It means that the exact error message still cannot be sent to the user > if the OS reports it asynchronously via SO_ERROR. If > NonBlockingConnectHandler received an Error**, we could for example > report the error class and/or message via a new field of the > query-migration command even if it is reported asynchronously. First time you mention the problem in a commit message could use a variant of this explanation.