hw: megasas: consider 'iov_count=0' is an error in megasas_map_sgl
[qemu/ar7.git] / qapi / authz.json
blobf3e97454267f8a4c100975d999bfe547adf69e81
1 # -*- Mode: Python -*-
2 # vim: filetype=python
4 # QAPI authz definitions
6 ##
7 # @QAuthZListPolicy:
9 # The authorization policy result
11 # @deny: deny access
12 # @allow: allow access
14 # Since: 4.0
16 { 'enum': 'QAuthZListPolicy',
17   'prefix': 'QAUTHZ_LIST_POLICY',
18   'data': ['deny', 'allow']}
21 # @QAuthZListFormat:
23 # The authorization policy match format
25 # @exact: an exact string match
26 # @glob: string with ? and * shell wildcard support
28 # Since: 4.0
30 { 'enum': 'QAuthZListFormat',
31   'prefix': 'QAUTHZ_LIST_FORMAT',
32   'data': ['exact', 'glob']}
35 # @QAuthZListRule:
37 # A single authorization rule.
39 # @match: a string or glob to match against a user identity
40 # @policy: the result to return if @match evaluates to true
41 # @format: the format of the @match rule (default 'exact')
43 # Since: 4.0
45 { 'struct': 'QAuthZListRule',
46   'data': {'match': 'str',
47            'policy': 'QAuthZListPolicy',
48            '*format': 'QAuthZListFormat'}}
51 # @QAuthZListRuleListHack:
53 # Not exposed via QMP; hack to generate QAuthZListRuleList
54 # for use internally by the code.
56 # Since: 4.0
58 { 'struct': 'QAuthZListRuleListHack',
59   'data': { 'unused': ['QAuthZListRule'] } }