Received: from eggs.gnu.org ([2001:4830:134:3::10]:49727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAhJc-00060O-M7 for qemu-devel@nongnu.org; Mon, 12 Jan 2015 10:54:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAhJZ-0001cc-GD for qemu-devel@nongnu.org; Mon, 12 Jan 2015 10:54:04 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAhJZ-0001cW-8W for qemu-devel@nongnu.org; Mon, 12 Jan 2015 10:54:01 -0500 From: Markus Armbruster References: <1418979866-1615-1-git-send-email-kraxel@redhat.com> <1418979866-1615-10-git-send-email-kraxel@redhat.com> <87bnmz3i4u.fsf@blackfin.pond.sub.org> <549468DC.8010102@redhat.com> <1420540773.13556.38.camel@nilsson.home.kraxel.org> Date: Mon, 12 Jan 2015 16:53:53 +0100 In-Reply-To: <1420540773.13556.38.camel@nilsson.home.kraxel.org> (Gerd Hoffmann's message of "Tue, 06 Jan 2015 11:39:33 +0100") Message-ID: <87a91o571q.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PULL 09/10] monitor: add query-vnc2 command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org, Anthony Liguori , Luiz Capitulino Gerd Hoffmann writes: > Hi, > >> > If the schema let us specify the enumeration values, we could avoid the >> > mapping altogether. >> >> Ooh, cool thought: what if we allowed: >> >> { 'enum': 'Foo', 'data': [ >> { 'name': 'One', 'value': 1 }, >> { 'name': 'Two', 'value': 2 } ] } > > Looks nice. Where is the patch? In Eric's List of Wonderful Things to do as Time Permits, somewhere behind the respin of the lovely "[PATCH v4 00/19] drop qapi nested structs" series ;-P