qemu-e2k/qga
Eric Blake 895a2a80e0 qapi: Use 'struct' instead of 'type' in schema
Referring to "type" as both a meta-type (built-in, enum, union,
alternate, or struct) and a specific type (the name that the
schema uses for declaring structs) is confusing.  Do the bulk of
the conversion to "struct" in qapi schema, with a fairly
mechanical:

for f in `find -name '*.json'; do sed -i "s/'type'/'struct'/"; done

followed by manually filtering out the places where we have a
'type' embedded in 'data'.  Then tweak a couple of tests whose
output changes slightly due to longer lines.

I also verified that the generated files for QMP and QGA (such
as qmp-commands.h) are the same before and after, as assurance
that I didn't leave in any accidental member name changes.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-05-05 18:39:01 +02:00
..
vss-win32 qga: fitering out -fstack-protector-strong 2015-04-02 15:57:27 +02:00
Makefile.objs
channel-posix.c
channel-win32.c
channel.h
commands-posix.c qga/commands-posix: Fix resource leak 2015-03-19 11:39:18 +03:00
commands-win32.c qemu-ga-win: Fail loudly on bare 'set-time' 2015-02-17 16:21:50 -06:00
commands.c
guest-agent-command-state.c
guest-agent-core.h
main.c
qapi-schema.json qapi: Use 'struct' instead of 'type' in schema 2015-05-05 18:39:01 +02:00
service-win32.c
service-win32.h
vss-win32.c
vss-win32.h