This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
qemu
Watch
1
Star
0
Fork
0
You've already forked qemu
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
ef8b3829f6
qemu
/
tests
/
qapi-schema
/
pragma-value-not-list-of-str.json
4 lines
101 B
JSON
Raw
Normal View
History
Unescape
Escape
tests/qapi-schema: Rename pragma-*-crap to pragma-value-not-* Rename pragma-doc-required-crap to pragma-not-bool, pragma-returns-whitelist-crap to pragma-value-not-list, and pragma-name-case-whitelist-crap to pragma-value-not-list-of-str. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20210323094025.3569441-18-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
2021-03-23 12:40:14 +03:00
#
p
r
a
g
m
a
v
a
l
u
e
m
u
s
t
b
e
l
i
s
t
o
f
s
t
r
i
n
g
s
qapi: Have each QAPI schema declare its returns white-list qapi.py has a hardcoded white-list of command names that may violate the rules on permitted return types. Add a new pragma directive 'returns-whitelist', and use it to replace the hard-coded white-list. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1489582656-31133-6-git-send-email-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
2017-03-15 15:56:54 +03:00
{
'
p
r
a
g
m
a
'
:
{
'
r
e
t
u
r
n
s
-
w
h
i
t
e
l
i
s
t
'
:
[
'
g
o
o
d
'
,
[
'
b
a
d
'
]
]
}
}
Reference in New Issue
Copy Permalink