qemu-e2k/scripts
Wenchao Xia b86b05ed60 qapi script: check correctness of union
Since line info is remembered as QAPISchema.line now, this patch
uses it as additional info for every expr in QAPISchema inside qapi.py,
then improves error message with it in checking of exprs.

For common union the patch will check whether base is a valid complex
type if specified. For flat union it will check whether base presents,
whether discriminator is found in base, whether the key of every branch
is correct when discriminator is an enum type.

Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2014-03-11 09:07:41 -04:00
..
kvm
qemu-guest-agent
qmp qmp: Check for returned data from __json_read in get_events 2014-02-28 13:35:53 -05:00
tracetool Modified the tracetool framework for LTTng 2.x 2014-02-19 11:08:53 +01:00
acpi_extract_preprocess.py i386: add ACPI table files from seabios 2013-10-14 17:48:51 +03:00
acpi_extract.py i386: add ACPI table files from seabios 2013-10-14 17:48:51 +03:00
analyse-9p-simpletrace.py
check-qerror.sh
checkpatch.pl checkpatch.pl: Check .cpp files 2013-09-09 14:17:56 -05:00
cleanup-trace-events.pl
create_config module: implement module loading 2014-02-20 13:14:18 +01:00
disas-objdump.pl disas-objdump: Pass --adjust-vma to objdump 2013-08-24 07:26:45 +02:00
dump-guest-memory.py Python-lang gdb script to extract x86_64 guest vmcore from qemu coredump 2014-01-26 13:06:48 +02:00
extract-vsssdk-headers Add a script to extract VSS SDK headers on POSIX system 2013-09-09 14:17:56 -05:00
feature_to_c.sh
get_maintainer.pl Use qemu-project.org domain name 2013-10-11 09:34:56 -07:00
gtester-cat
hxtool
make_device_config.sh
make-release
ordereddict.py
qapi-commands.py qapi: Drop unused code in qapi-commands.py 2014-03-03 11:16:46 -05:00
qapi-types.py qapi: Fix licensing of scripts 2014-03-03 11:16:45 -05:00
qapi-visit.py qapi: Clean up null checking in generated visitors 2014-03-03 11:17:20 -05:00
qapi.py qapi script: check correctness of union 2014-03-11 09:07:41 -04:00
qemu-binfmt-conf.sh
qemu-gdb.py
qtest
refresh-pxe-roms.sh roms: rewrite scripts/refresh-pxe-roms.sh 2013-09-30 09:44:35 +02:00
signrom.py
simpletrace.py
switch-timer-api misc: Fix case Qemu -> QEMU 2014-02-15 16:10:25 +04:00
texi2pod.pl
tracetool.py
update-acpi.sh acpi: add rules to compile ASL source 2013-10-14 17:48:51 +03:00
update-linux-headers.sh