From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXR8H-0002OT-Rc for qemu-devel@nongnu.org; Thu, 13 Dec 2018 08:34:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXR8F-0005SA-7z for qemu-devel@nongnu.org; Thu, 13 Dec 2018 08:34:29 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53944) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gXR8F-0005Qi-2P for qemu-devel@nongnu.org; Thu, 13 Dec 2018 08:34:27 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6AB5674F02 for ; Thu, 13 Dec 2018 13:34:26 +0000 (UTC) From: Markus Armbruster References: <20181213123724.4866-1-marcandre.lureau@redhat.com> <20181213123724.4866-15-marcandre.lureau@redhat.com> Date: Thu, 13 Dec 2018 14:34:22 +0100 In-Reply-To: <20181213123724.4866-15-marcandre.lureau@redhat.com> (=?utf-8?Q?=22Marc-Andr=C3=A9?= Lureau"'s message of "Thu, 13 Dec 2018 16:37:16 +0400") Message-ID: <87h8fhr1nl.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v8 14/22] qapi: add an error in case a discriminator is conditional List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Cc: qemu-devel@nongnu.org Marc-Andr=C3=A9 Lureau writes: > Making a discriminator conditional doesn't make much sense. "qapi: > add a dictionary form for TYPE" allows it, this patch fixes > it. Eventually the two could be merged, but for clarity of review it > is kept separate. > > Signed-off-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Markus Armbruster I may accept the offer to let me squash it into the previous patch when I apply.