qemu/scripts
Laszlo Ersek 9a801c7d6c qapi: add SysEmuTarget to "common.json"
We'll soon need an enumeration type that lists all the softmmu targets
that QEMU (the project) supports. Introduce @SysEmuTarget to
"common.json".

The enum constant @x86_64 doesn't match the QAPI convention of preferring
hyphen ("-") over underscore ("_"). This is intentional; the @SysEmuTarget
constants are supposed to produce QEMU executable names when stringified
and appended to the "qemu-system-" prefix. Put differently, the
replacement text of the TARGET_NAME preprocessor macro must be possible to
look up in the list of (stringified) enum constants.

Like other enum types, @SysEmuTarget too can be used for discriminator
fields in unions. For the @i386 constant, a C-language union member called
"i386" would be generated. On mingw build hosts, "i386" is a macro
however. Add "i386" to "polluted_words" at once.

Cc: "Daniel P. Berrange" <berrange@redhat.com>
Cc: Eric Blake <eblake@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20180427192852.15013-3-lersek@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2018-05-04 08:27:53 +02:00
..
coccinelle qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREF 2018-05-04 08:27:53 +02:00
kvm
modules
qapi qapi: add SysEmuTarget to "common.json" 2018-05-04 08:27:53 +02:00
qemu-guest-agent
qemugdb
qmp
tracetool
analyse-9p-simpletrace.py
analyse-locks-simpletrace.py
analyze-inclusions
analyze-migration.py
archive-source.sh
argparse.py
check-qerror.sh
checkpatch.pl checkpatch: Add xendevicemodel_handle to the list of types 2018-04-26 16:29:50 +01:00
clean-header-guards.pl
clean-includes
cleanup-trace-events.pl
cocci-macro-file.h
coverity-model.c
create_config
decodetree.py scripts/decodetree: Fix insnmask not marked as global in main() 2018-03-26 22:34:07 +08:00
device-crash-test device-crash-test: Remove fixed isa-fdc entry 2018-04-09 16:36:40 +02:00
disas-objdump.pl
dump-guest-memory.py
extract-vsssdk-headers
feature_to_c.sh
get_maintainer.pl scripts/get_maintainer.pl: Print proper error message for missing $file 2018-03-26 14:37:12 +02:00
git-submodule.sh
git.orderfile
gtester-cat
hxtool
make-release
make_device_config.sh
ordereddict.py
qapi-gen.py
qemu-binfmt-conf.sh linux-user: add microblaze/microblazeel magic numbers in qemu-binfmt-conf.sh 2018-04-10 17:41:55 +02:00
qemu-gdb.py
qemu.py
qtest.py
refresh-pxe-roms.sh
replay-dump.py
shaderinclude.pl
show-fixed-bugs.sh
signrom.py
simpletrace.py
switch-timer-api
texi2pod.pl
tracetool.py
update-linux-headers.sh
vmstate-static-checker.py