Received: from eggs.gnu.org ([2001:4830:134:3::10]:60268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn16I-0001HV-ES for qemu-devel@nongnu.org; Tue, 28 Apr 2015 04:42:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yn16H-0007G6-93 for qemu-devel@nongnu.org; Tue, 28 Apr 2015 04:42:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn16H-0007Fz-1Q for qemu-devel@nongnu.org; Tue, 28 Apr 2015 04:42:41 -0400 From: Markus Armbruster References: <1428206887-7921-1-git-send-email-eblake@redhat.com> <1428206887-7921-17-git-send-email-eblake@redhat.com> Date: Tue, 28 Apr 2015 10:41:56 +0200 In-Reply-To: <1428206887-7921-17-git-send-email-eblake@redhat.com> (Eric Blake's message of "Sat, 4 Apr 2015 22:07:47 -0600") Message-ID: <87tww0tzjf.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v6 16/36] qapi: Use 'alternate' to replace anonymous union List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: kwolf@redhat.com, berto@igalia.com, qemu-devel@nongnu.org Eric Blake writes: > Previous patches have led up to the point where I create the > new meta-type "'alternate':'Foo'". See the previous patches > for documentation; I intentionally split as much work into > earlier patches to minimize the size of this patch, but a lot > of it is churn due to testsuite fallout after updating to the > new type. > > Signed-off-by: Eric Blake [...] > diff --git a/tests/qapi-schema/flat-union-base-union.json b/tests/qapi-schema/flat-union-base-union.json > index 838986c..0ba6e28 100644 > --- a/tests/qapi-schema/flat-union-base-union.json > +++ b/tests/qapi-schema/flat-union-base-union.json > @@ -1,4 +1,4 @@ > -# FIXME: the error message needs help: we require the base to be a struct > +# we require the base to be a struct > { 'enum': 'TestEnum', > 'data': [ 'value1', 'value2' ] } > { 'type': 'TestTypeA', This looks unrelated. Does it belong to PATCH 25? [...] Regardless, Reviewed-by: Markus Armbruster