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