Merge tag 'pull-sp-20240412' of https://gitlab.com/rth7680/qemu into staging
[qemu/armbru.git] / qapi / error.json
blob135c1e823197217df3c13b0abb306370adbc210a
1 # -*- Mode: Python -*-
2 # vim: filetype=python
4 ##
5 # = QMP errors
6 ##
8 ##
9 # @QapiErrorClass:
11 # QEMU error classes
13 # @GenericError: this is used for errors that don't require a specific
14 #     error class.  This should be the default case for most errors
16 # @CommandNotFound: the requested command has not been found
18 # @DeviceNotActive: a device has failed to be become active
20 # @DeviceNotFound: the requested device has not been found
22 # @KVMMissingCap: the requested operation can't be fulfilled because a
23 #     required KVM capability is missing
25 # Since: 1.2
27 { 'enum': 'QapiErrorClass',
28   # Keep this in sync with ErrorClass in error.h
29   'data': [ 'GenericError', 'CommandNotFound',
30             'DeviceNotActive', 'DeviceNotFound', 'KVMMissingCap' ] }