summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/commands.py
diff options
context:
space:
mode:
authorMarkus Armbruster2018-02-11 10:35:56 +0100
committerEric Blake2018-03-02 20:14:10 +0100
commit834a3f349806e543db5c347feef5ef8de0a78559 (patch)
treee8be3a00a8dabc5df3e712d5b1b21041c4092434 /scripts/qapi/commands.py
parentqapi: Record 'include' directives in intermediate representation (diff)
downloadqemu-834a3f349806e543db5c347feef5ef8de0a78559.tar.gz
qemu-834a3f349806e543db5c347feef5ef8de0a78559.tar.xz
qemu-834a3f349806e543db5c347feef5ef8de0a78559.zip
qapi: Rename generated qmp-marshal.c to qmp-commands.c
All generated .c are named like their .h, except for qmp-marshal.c and qmp-commands.h. To add to the confusion, tests-qmp-commands.c falsely matches generated test-qmp-commands.h. Get rid of this unnecessary complication. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20180211093607.27351-19-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/qapi/commands.py')
-rw-r--r--scripts/qapi/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qapi/commands.py b/scripts/qapi/commands.py
index a744611d58..05fe33a03b 100644
--- a/scripts/qapi/commands.py
+++ b/scripts/qapi/commands.py
@@ -289,5 +289,5 @@ void %(c_prefix)sqmp_init_marshal(QmpCommandList *cmds);
schema.visit(vis)
genc.add(vis.defn)
genh.add(vis.decl)
- genc.write(output_dir, prefix + 'qmp-marshal.c')
+ genc.write(output_dir, prefix + 'qmp-commands.c')
genh.write(output_dir, prefix + 'qmp-commands.h')