Files
qemu/tests/qapi-schema/features-missing-name.json
T
Marc-André Lureau 8a9f1e1d9c qapi: make 'if' condition strings simple identifiers
Change the 'if' condition strings to be C-agnostic. It will accept
'[A-Z][A-Z0-9_]*' identifiers. This allows to express configuration
conditions in other languages (Rust or Python for ex) or other more
suitable forms.

Signed-off-by: Marc-André Lureau <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Tested-by: John Snow <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
[Rebased with semantic conflict in redefined-event.json]
Signed-off-by: Markus Armbruster <[email protected]>
2021-08-26 13:53:56 +02:00

4 lines
108 B
JSON

{ 'struct': 'FeatureStruct0',
'data': { 'foo': 'int' },
'features': [ { 'if': 'NAMELESS_FEATURES' } ] }