Received: from eggs.gnu.org ([2001:4830:134:3::10]:41662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhCiR-0007g7-7K for qemu-devel@nongnu.org; Mon, 05 May 2014 02:49:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhCiL-0007rE-Px for qemu-devel@nongnu.org; Mon, 05 May 2014 02:49:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhCiL-0007r0-IU for qemu-devel@nongnu.org; Mon, 05 May 2014 02:49:25 -0400 From: Markus Armbruster References: <1399034675-17844-1-git-send-email-armbru@redhat.com> <1399034675-17844-2-git-send-email-armbru@redhat.com> <5365A8A0.8000105@redhat.com> Date: Mon, 05 May 2014 08:49:14 +0200 In-Reply-To: <5365A8A0.8000105@redhat.com> (Eric Blake's message of "Sat, 03 May 2014 20:40:32 -0600") Message-ID: <87zjiwwwid.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 01/13] qapi: Update qapi-code-gen.txt example to match current code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com, lcapitulino@redhat.com, pbonzini@redhat.com, akong@redhat.com, vilanova@ac.upc.edu Eric Blake writes: > On 05/02/2014 06:44 AM, Markus Armbruster wrote: >> Signed-off-by: Markus Armbruster >> --- >> docs/qapi-code-gen.txt | 146 >> ++++++++++++++++++++++++++++++------------------- >> 1 file changed, 90 insertions(+), 56 deletions(-) > > Reviewed-by: Eric Blake > > I checked that this matches the current reality, and serves as a good > metric for what the rest of the series cleans up. > >> === scripts/qapi-commands.py === >> >> Used to generate the marshaling/dispatch functions for the commands defined >> @@ -356,18 +395,8 @@ $(prefix)qmp-commands.h: Function prototypes for the QMP commands >> Example: >> >> mdroth@illuin:~/w/qemu2.git$ cat qapi-generated/example-qmp-marshal.c > > The file was missing the example command line that generated this file; > I figured it out: > > mdroth@illuin:~/w/qemu2.git$ python scripts/qapi-commands.py \ > --output-dir="qapi-generated" --prefix="example-" < > example-schema.json > > if you want to add that to this patch. Sure, why not, but if there's nothing else to correct in this series, I'd prefer a separate commit to a respin.