4 # = Compatibility policy
10 # Policy for handling "funny" input.
12 # @accept: Accept silently
13 # @reject: Reject with an error
14 # @crash: abort() the process
18 { 'enum': 'CompatPolicyInput',
19 'data': [ 'accept', 'reject', 'crash' ] }
22 # @CompatPolicyOutput:
24 # Policy for handling "funny" output.
26 # @accept: Pass on unchanged
31 { 'enum': 'CompatPolicyOutput',
32 'data': [ 'accept', 'hide' ] }
37 # Policy for handling deprecated management interfaces.
39 # This is intended for testing users of the management interfaces.
41 # Limitation: covers only syntactic aspects of QMP, i.e. stuff tagged
42 # with feature 'deprecated'. We may want to extend it to cover
43 # semantic aspects, CLI, and experimental features.
45 # Limitation: deprecated-output policy @hide is not implemented for
46 # enumeration values. They behave the same as with policy @accept.
48 # @deprecated-input: how to handle deprecated input (default 'accept')
49 # @deprecated-output: how to handle deprecated output (default 'accept')
50 # @unstable-input: how to handle unstable input (default 'accept')
52 # @unstable-output: how to handle unstable output (default 'accept')
57 { 'struct': 'CompatPolicy',
58 'data': { '*deprecated-input': 'CompatPolicyInput',
59 '*deprecated-output': 'CompatPolicyOutput',
60 '*unstable-input': 'CompatPolicyInput',
61 '*unstable-output': 'CompatPolicyOutput' } }