mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-04 16:12:57 -10:00
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]>
4 lines
108 B
JSON
4 lines
108 B
JSON
{ 'struct': 'FeatureStruct0',
|
|
'data': { 'foo': 'int' },
|
|
'features': [ { 'if': 'NAMELESS_FEATURES' } ] }
|