Logo
Explore Help
Sign In
starred/qemu
1
0
Fork 0
You've already forked qemu
mirror of https://github.com/qemu/qemu.git synced 2026-07-10 10:36:38 +00:00
Code Issues 380 Packages Projects Releases Wiki Activity
Files
55d41b16eec5041bf94de9b687bf51a67fdf736d
qemu/tests/qapi-schema/double-data.err

2 lines
62 B
Plaintext
Raw Normal View History

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-04 09:05:27 -06:00
tests/qapi-schema/double-data.json:2:41: Duplicate key "data"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 117ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API