1# -*- Mode: Python -*- 2 3## 4# = Compatibility policy 5## 6 7## 8# @CompatPolicyInput: 9# 10# Policy for handling "funny" input. 11# 12# @accept: Accept silently 13# @reject: Reject with an error 14# 15# Since: 6.0 16## 17{ 'enum': 'CompatPolicyInput', 18 'data': [ 'accept', 'reject' ] } 19 20## 21# @CompatPolicyOutput: 22# 23# Policy for handling "funny" output. 24# 25# @accept: Pass on unchanged 26# @hide: Filter out 27# 28# Since: 6.0 29## 30{ 'enum': 'CompatPolicyOutput', 31 'data': [ 'accept', 'hide' ] } 32 33## 34# @CompatPolicy: 35# 36# Policy for handling deprecated management interfaces. 37# 38# This is intended for testing users of the management interfaces. 39# 40# Limitation: covers only syntactic aspects of QMP, i.e. stuff tagged 41# with feature 'deprecated'. We may want to extend it to cover 42# semantic aspects, CLI, and experimental features. 43# 44# @deprecated-input: how to handle deprecated input (default 'accept') 45# @deprecated-output: how to handle deprecated output (default 'accept') 46# 47# Since: 6.0 48## 49{ 'struct': 'CompatPolicy', 50 'data': { '*deprecated-input': 'CompatPolicyInput', 51 '*deprecated-output': 'CompatPolicyOutput' } } 52