5 # = Compatibility policy
11 # Policy for handling "funny" input.
13 # @accept: Accept silently
14 # @reject: Reject with an error
15 # @crash: abort() the process
19 { 'enum': 'CompatPolicyInput',
20 'data': [ 'accept', 'reject', 'crash' ] }
23 # @CompatPolicyOutput:
25 # Policy for handling "funny" output.
27 # @accept: Pass on unchanged
32 { 'enum': 'CompatPolicyOutput',
33 'data': [ 'accept', 'hide' ] }
38 # Policy for handling deprecated management interfaces.
40 # This is intended for testing users of the management interfaces.
42 # Limitation: covers only syntactic aspects of QMP, i.e. stuff tagged
43 # with feature 'deprecated'. We may want to extend it to cover
44 # semantic aspects and CLI.
46 # Limitation: deprecated-output policy @hide is not implemented for
47 # enumeration values. They behave the same as with policy @accept.
49 # @deprecated-input: how to handle deprecated input (default 'accept')
50 # @deprecated-output: how to handle deprecated output (default 'accept')
51 # @unstable-input: how to handle unstable input (default 'accept')
53 # @unstable-output: how to handle unstable output (default 'accept')
58 { 'struct': 'CompatPolicy',
59 'data': { '*deprecated-input': 'CompatPolicyInput',
60 '*deprecated-output': 'CompatPolicyOutput',
61 '*unstable-input': 'CompatPolicyInput',
62 '*unstable-output': 'CompatPolicyOutput' } }