Received: from eggs.gnu.org ([2001:4830:134:3::10]:40422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzhlZ-00054N-G5 for qemu-devel@nongnu.org; Tue, 02 Jun 2015 04:41:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzhlV-00062a-GI for qemu-devel@nongnu.org; Tue, 02 Jun 2015 04:41:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzhlV-00062J-Aj for qemu-devel@nongnu.org; Tue, 02 Jun 2015 04:41:41 -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 (Postfix) with ESMTPS id EF89D19CB9E for ; Tue, 2 Jun 2015 08:41:40 +0000 (UTC) From: Markus Armbruster References: <1432815695-31687-1-git-send-email-armbru@redhat.com> <1432815695-31687-4-git-send-email-armbru@redhat.com> <55672BBE.4090707@redhat.com> Date: Tue, 02 Jun 2015 10:41:38 +0200 In-Reply-To: <55672BBE.4090707@redhat.com> (Eric Blake's message of "Thu, 28 May 2015 08:52:46 -0600") Message-ID: <87siaacxj1.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 3/9] vl: Fail right after first bad -object List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: pbonzini@redhat.com, qemu-devel@nongnu.org Eric Blake writes: > On 05/28/2015 06:21 AM, Markus Armbruster wrote: >> Failure to create a -object is a fatal error. However, we delay the > > s/a -object/an -object/ ? (depends on whether you pronounce '-object' as > "object" or "dash-object") I'll use "to create an object with -object". >> actual exit until all -object are processed. On the one hand, this >> permits detection of genuine additional errors. On the other hand, it >> can muddy the waters with uninteresting additional errors, e.g. when a >> later -object tries to reference a prior one that failed. >> >> We generally stop right on the first bad option, so do that for >> -object as well. >> >> Signed-off-by: Markus Armbruster >> --- >> vl.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > Reviewed-by: Eric Blake Thanks!