This website requires JavaScript.
Explore
Help
Sign In
dfaggioli
/
qemu
Watch
1
Star
0
Fork
0
You've already forked qemu
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
00cc3e1d70105ae1da11aee901b9af0c546bce4c
qemu
/
tests
/
qapi-schema
/
flat-union-no-base.exit
2 lines
2 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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-04 18:44:34 -08:00
1
Reference in New Issue
Copy Permalink