error.json (6c5dfc9ccb643a0d50fdec9f10806b14960571d1) error.json (a937b6aa739f65f2cae2ad9a7eb65a309ad2a359)
1# -*- Mode: Python -*-
2# vim: filetype=python
3
4##
5# = QMP errors
6##
7
8##
9# @QapiErrorClass:
10#
11# QEMU error classes
12#
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
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
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
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
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' ] }
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' ] }