Received: from eggs.gnu.org ([140.186.70.92]:54336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUZvy-00089m-OY for qemu-devel@nongnu.org; Thu, 09 Jun 2011 03:45:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QUZvw-0001hs-VJ for qemu-devel@nongnu.org; Thu, 09 Jun 2011 03:45:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUZvw-0001hi-Gs for qemu-devel@nongnu.org; Thu, 09 Jun 2011 03:45:40 -0400 From: Markus Armbruster References: <1307140399-9023-1-git-send-email-mdroth@linux.vnet.ibm.com> <1307140399-9023-6-git-send-email-mdroth@linux.vnet.ibm.com> <4DEE76CD.9070405@codemonkey.ws> Date: Thu, 09 Jun 2011 09:00:01 +0200 In-Reply-To: <4DEE76CD.9070405@codemonkey.ws> (Anthony Liguori's message of "Tue, 07 Jun 2011 14:06:53 -0500") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH v2][ 05/21] qapi: add qapi-types.py code generator List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Jes.Sorensen@redhat.com, lcapitulino@redhat.com, agl@linux.vnet.ibm.com, Michael Roth , qemu-devel@nongnu.org Anthony Liguori writes: > On 06/03/2011 05:33 PM, Michael Roth wrote: >> This is the code generator for qapi types. It will generation the >> following files: >> >> $(prefix)qapi-types.h - C types corresponding to types defined in >> the schema you pass in >> $(prefix)qapi-types.c - Cleanup functions for the above C types >> >> The $(prefix) is used to as a namespace to keep the generated code from >> one schema/code-generation separated from others so code and be >> generated from multiple schemas with clobbering previously created code. >> >> Signed-off-by: Michael Roth >> --- >> scripts/qapi-types.py | 221 +++++++++++++++++++++++++++++++++++++++++++++++++ >> 1 files changed, 221 insertions(+), 0 deletions(-) >> create mode 100644 scripts/qapi-types.py >> >> diff --git a/scripts/qapi-types.py b/scripts/qapi-types.py >> new file mode 100644 >> index 0000000..15603f3 >> --- /dev/null >> +++ b/scripts/qapi-types.py > > Other than copyright, I think this is ready to go. > > Haven't seen much comments about this series. I think we're at the > speak now or forever hold your peace moment, so if you've got concerns > about this approach, please speak up. There's one concern that trumps all the others I may have: QMP needs to move. I feel the best I can to for that is to keep out of its way.