From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJoSD-00039h-LR for qemu-devel@nongnu.org; Thu, 04 Oct 2012 12:39:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJoS5-0005Uh-PW for qemu-devel@nongnu.org; Thu, 04 Oct 2012 12:39:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:19953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJoS5-0005UQ-HX for qemu-devel@nongnu.org; Thu, 04 Oct 2012 12:39:09 -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 q94Gd8M5032709 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 4 Oct 2012 12:39:08 -0400 Message-ID: <506DBBAA.4070300@redhat.com> Date: Thu, 04 Oct 2012 18:39:06 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1349275025-5093-1-git-send-email-pbonzini@redhat.com> <1349275025-5093-3-git-send-email-pbonzini@redhat.com> <20121004131944.09750826@doriath.home> In-Reply-To: <20121004131944.09750826@doriath.home> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 02/18] qemu-sockets: add Error ** to all functions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: qemu-devel@nongnu.org Il 04/10/2012 18:19, Luiz Capitulino ha scritto: >> > >> > -int unix_listen_opts(QemuOpts *opts) >> > +int unix_listen_opts(QemuOpts *opts, Error **errp) >> > { >> > - fprintf(stderr, "unix sockets are not available on windows\n"); >> > + error_setg(errp, "unix sockets are not available on windows"); > As we've discussed in a previous series, this breaks error reporting > for unix_listen_opts() until errp is passed _and_ the error is routed > to the right direction (in this case stderr). > > Is this fixed later in this series? If it's not, when do you plan to fix it? It is (which is why the single patch became 18), and I can move this hunk at the end of the series. Note that is just for Windows code and should really never run. Paolo