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
a54d340b9d0902fa73ff9e5541974b9b51fb1d45
qemu
/
tests
/
qapi-schema
/
type-bypass-bad-gen.exit
2 lines
2 B
Plaintext
Raw
Normal View
History
Unescape
Escape
qapi: More rigorous checking for type safety bypass Now that we have a way to validate every type, we can also be stricter about enforcing that callers that want to bypass type safety in generated code. Prior to this patch, it didn't matter what value was associated with the key 'gen', but it looked odd that 'gen':'yes' could result in bypassing the generated code. These changes also enforce the changes made earlier in the series for documentation and consolidation of using '**' as the wildcard type, as well as 'gen':false as the canonical spelling for requesting type bypass. Note that 'gen':false is a one-way switch away from the default; we do not support 'gen':true (similar for 'success-response'). In practice, this doesn't matter. 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:24 -06:00
1
Reference in New Issue
Copy Permalink