1# -*- Mode: Python -*- 2 3## 4# = QMP errors 5## 6 7## 8# @QapiErrorClass: 9# 10# QEMU error classes 11# 12# @GenericError: this is used for errors that don't require a specific error 13# class. This should be the default case for most errors 14# 15# @CommandNotFound: the requested command has not been found 16# 17# @DeviceNotActive: a device has failed to be become active 18# 19# @DeviceNotFound: the requested device has not been found 20# 21# @KVMMissingCap: the requested operation can't be fulfilled because a 22# required KVM capability is missing 23# 24# Since: 1.2 25## 26{ 'enum': 'QapiErrorClass', 27 # Keep this in sync with ErrorClass in error.h 28 'data': [ 'GenericError', 'CommandNotFound', 29 'DeviceNotActive', 'DeviceNotFound', 'KVMMissingCap' ] } 30