From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJoTy-0004YI-Db for qemu-devel@nongnu.org; Thu, 04 Oct 2012 12:41:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJoTs-0006jL-M9 for qemu-devel@nongnu.org; Thu, 04 Oct 2012 12:41:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJoTs-0006iN-Bh for qemu-devel@nongnu.org; Thu, 04 Oct 2012 12:41:00 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q94Gex8O001829 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 4 Oct 2012 12:40:59 -0400 Date: Thu, 4 Oct 2012 13:41:53 -0300 From: Luiz Capitulino Message-ID: <20121004134153.4d00327f@doriath.home> In-Reply-To: <506DBBAA.4070300@redhat.com> References: <1349275025-5093-1-git-send-email-pbonzini@redhat.com> <1349275025-5093-3-git-send-email-pbonzini@redhat.com> <20121004131944.09750826@doriath.home> <506DBBAA.4070300@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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: Paolo Bonzini Cc: qemu-devel@nongnu.org On Thu, 04 Oct 2012 18:39:06 +0200 Paolo Bonzini wrote: > 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. Right: Reviewed-by: Luiz Capitulino