16 lines
541 B
JSON
16 lines
541 B
JSON
# we enforce that 'returns' be a dict or array of dict unless whitelisted
|
|
|
|
{ 'pragma': { 'command-returns-exceptions': [
|
|
'human-monitor-command', 'query-tpm-models', 'guest-get-time' ] } }
|
|
|
|
{ 'command': 'human-monitor-command',
|
|
'data': {'command-line': 'str', '*cpu-index': 'int'},
|
|
'returns': 'str' }
|
|
{ 'enum': 'TpmModel', 'data': [ 'tpm-tis' ] }
|
|
{ 'command': 'query-tpm-models', 'returns': ['TpmModel'] }
|
|
{ 'command': 'guest-get-time',
|
|
'returns': 'int' }
|
|
|
|
{ 'command': 'no-way-this-will-get-whitelisted',
|
|
'returns': [ 'int' ] }
|