]> git.ipfire.org Git - thirdparty/qemu.git/commit
qapi: Move qapi-schema.json to qapi/, rename generated files
authorMarkus Armbruster <armbru@redhat.com>
Sun, 11 Feb 2018 09:36:05 +0000 (10:36 +0100)
committerEric Blake <eblake@redhat.com>
Fri, 2 Mar 2018 19:45:57 +0000 (13:45 -0600)
commiteb815e248f50cde9ab86eddd57eca5019b71ca78
treec81f963410bea870f6d2f8f546c00632bed4c6f5
parentbb46af41b9e7328626d2ecd37e48acbeb6832bc0
qapi: Move qapi-schema.json to qapi/, rename generated files

Move qapi-schema.json to qapi/, so it's next to its modules, and all
files get generated to qapi/, not just the ones generated for modules.

Consistently name the generated files qapi-MODULE.EXT:
qmp-commands.[ch] become qapi-commands.[ch], qapi-event.[ch] become
qapi-events.[ch], and qmp-introspect.[ch] become qapi-introspect.[ch].
This gets rid of the temporary hacks in scripts/qapi/commands.py,
scripts/qapi/events.py, and scripts/qapi/common.py.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180211093607.27351-28-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>
[eblake: Fix trailing dot in tpm.c, undo temporary hack for OSX toolchain]
Signed-off-by: Eric Blake <eblake@redhat.com>
35 files changed:
.gitignore
Makefile
Makefile.objs
backends/hostmem.c
docs/devel/qapi-code-gen.txt
docs/devel/writing-qmp-commands.txt
docs/interop/qmp-intro.txt
hmp.c
include/qapi/qmp/qobject.h
include/qapi/visitor.h
include/qom/object.h
monitor.c
net/filter-buffer.c
qapi/misc.json
qapi/qapi-schema.json [moved from qapi-schema.json with 85% similarity]
qga/Makefile.objs
qga/commands-posix.c
qga/commands-win32.c
qga/commands.c
qga/main.c
qom/object.c
scripts/qapi/commands.py
scripts/qapi/common.py
scripts/qapi/events.py
scripts/qapi/introspect.py
scripts/qapi/types.py
scripts/qapi/visit.py
tests/.gitignore
tests/Makefile.include
tests/test-qmp-cmds.c
tests/test-qmp-event.c
tests/test-qobject-input-visitor.c
tpm.c
ui/cocoa.m
ui/vnc.c