]>
Commit | Line | Data |
---|---|---|
6dd75472 | 1 | # -*- Mode: Python -*- |
7e7237cd | 2 | # vim: filetype=python |
6dd75472 MA |
3 | |
4 | ## | |
5 | # = Compatibility policy | |
6 | ## | |
7 | ||
8 | ## | |
9 | # @CompatPolicyInput: | |
10 | # | |
11 | # Policy for handling "funny" input. | |
12 | # | |
13 | # @accept: Accept silently | |
a937b6aa | 14 | # |
6dd75472 | 15 | # @reject: Reject with an error |
a937b6aa | 16 | # |
dbb675c1 | 17 | # @crash: abort() the process |
6dd75472 MA |
18 | # |
19 | # Since: 6.0 | |
20 | ## | |
21 | { 'enum': 'CompatPolicyInput', | |
dbb675c1 | 22 | 'data': [ 'accept', 'reject', 'crash' ] } |
6dd75472 MA |
23 | |
24 | ## | |
25 | # @CompatPolicyOutput: | |
26 | # | |
27 | # Policy for handling "funny" output. | |
28 | # | |
29 | # @accept: Pass on unchanged | |
a937b6aa | 30 | # |
6dd75472 MA |
31 | # @hide: Filter out |
32 | # | |
33 | # Since: 6.0 | |
34 | ## | |
35 | { 'enum': 'CompatPolicyOutput', | |
36 | 'data': [ 'accept', 'hide' ] } | |
37 | ||
38 | ## | |
39 | # @CompatPolicy: | |
40 | # | |
41 | # Policy for handling deprecated management interfaces. | |
42 | # | |
43 | # This is intended for testing users of the management interfaces. | |
44 | # | |
45 | # Limitation: covers only syntactic aspects of QMP, i.e. stuff tagged | |
0a59c02b MA |
46 | # with feature 'deprecated' or 'unstable'. We may want to extend it |
47 | # to cover semantic aspects and CLI. | |
6dd75472 | 48 | # |
aa237044 MA |
49 | # Limitation: deprecated-output policy @hide is not implemented for |
50 | # enumeration values. They behave the same as with policy @accept. | |
b6c18755 | 51 | # |
6dd75472 | 52 | # @deprecated-input: how to handle deprecated input (default 'accept') |
a937b6aa MA |
53 | # |
54 | # @deprecated-output: how to handle deprecated output (default | |
55 | # 'accept') | |
56 | # | |
57df0dff | 57 | # @unstable-input: how to handle unstable input (default 'accept') |
a937b6aa MA |
58 | # (since 6.2) |
59 | # | |
57df0dff | 60 | # @unstable-output: how to handle unstable output (default 'accept') |
a937b6aa | 61 | # (since 6.2) |
6dd75472 MA |
62 | # |
63 | # Since: 6.0 | |
64 | ## | |
65 | { 'struct': 'CompatPolicy', | |
66 | 'data': { '*deprecated-input': 'CompatPolicyInput', | |
57df0dff MA |
67 | '*deprecated-output': 'CompatPolicyOutput', |
68 | '*unstable-input': 'CompatPolicyInput', | |
69 | '*unstable-output': 'CompatPolicyOutput' } } |