blob: 94a6502de9d2a6e4bb5f768408044e649cc74b1e [file] [log] [blame]
Markus Armbrusterabb3d372019-08-12 07:23:33 +02001# -*- Mode: Python -*-
Andrea Bolognanif7160f32020-07-29 20:50:24 +02002# vim: filetype=python
Markus Armbrusterabb3d372019-08-12 07:23:33 +02003
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' ] }