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