qemu-e2k/scripts
Markus Armbruster 56a4689582 qapi: Fix array first used in a different module
We generally put implicitly defined types in whatever module triggered
their definition.  This is wrong for array types, as the included test
case demonstrates.  Let's have a closer look at it.

Type 'Status' is defined sub-sub-module.json.  Array type ['Status']
occurs in main module qapi-schema-test.json and in
include/sub-module.json.  The main module's use is first, so the array
type gets put into the main module.

The generated C headers define StatusList in qapi-types.h.  But
include/qapi-types-sub-module.h uses it without including
qapi-types.h.  Oops.

To fix that, put the array type into its element type's module.

Now StatusList gets generated into qapi-types-sub-module.h, which all
its users include.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190301154051.23317-8-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2019-03-05 14:43:11 +01:00
..
coccinelle
kvm
modules
qapi qapi: Fix array first used in a different module 2019-03-05 14:43:11 +01:00
qemu-guest-agent
qemugdb qemugdb/coroutine: fix arch_prctl has unknown return type 2019-02-12 11:49:17 +08:00
qmp
tracetool trace: add ability to do simple printf logging via systemtap 2019-01-24 14:16:56 +00:00
travis
analyse-9p-simpletrace.py
analyse-locks-simpletrace.py
analyze-inclusions
analyze-migration.py
archive-source.sh archive-source.sh: Clone the submodules locally 2019-02-08 17:32:35 +00:00
checkpatch.pl checkpatch: Don't emit spurious warnings about block comments 2019-01-29 11:46:05 +00:00
clean-header-guards.pl
clean-includes
cleanup-trace-events.pl
cocci-macro-file.h
coverity-model.c
create_config
decodetree.py decodetree: re.fullmatch was added in 3.4 2019-01-25 11:41:42 -02:00
device-crash-test device-crash-test: Python 3 compatibility fix 2019-01-25 11:41:33 -02:00
disas-objdump.pl
dump-guest-memory.py dump: Set correct vaddr for ELF dump 2019-02-06 15:51:12 +01:00
extract-vsssdk-headers
feature_to_c.sh
fix-multiline-comments.sh
get_maintainer.pl
git-submodule.sh
git.orderfile
hxtool
make_device_config.sh
make-release
qapi-gen.py
qemu-binfmt-conf.sh
qemu-gdb.py
qemu-trace-stap trace: add ability to do simple printf logging via systemtap 2019-01-24 14:16:56 +00:00
qemu-trace-stap.texi trace: add ability to do simple printf logging via systemtap 2019-01-24 14:16:56 +00:00
qemu.py iotests: Let 045 be run concurrently 2019-02-25 15:11:28 +01:00
qtest.py qtest.py: Wait for the result of qtest commands 2019-02-01 13:46:45 +01:00
refresh-pxe-roms.sh
render_block_graph.py scripts: add render_block_graph function for QEMUMachine 2019-01-31 00:38:19 +01:00
replay-dump.py
shaderinclude.pl
show-fixed-bugs.sh
signrom.py
simpletrace.py
switch-timer-api
tap-driver.pl tap: flush STDOUT on newline 2019-02-05 16:50:16 +01:00
tap-merge.pl tap: flush STDOUT on newline 2019-02-05 16:50:16 +01:00
texi2pod.pl maint: Allow for EXAMPLES in texi2pod 2019-01-21 15:49:51 -06:00
tracetool.py
update-linux-headers.sh * cpu-exec fixes (Emilio, Laurent) 2019-02-05 19:39:22 +00:00
vmstate-static-checker.py