Markus Armbruster | abb3d37 | 2019-08-12 07:23:33 +0200 | [diff] [blame] | 1 | # -*- Mode: Python -*- |
Andrea Bolognani | f7160f3 | 2020-07-29 20:50:24 +0200 | [diff] [blame] | 2 | # vim: filetype=python |
Markus Armbruster | abb3d37 | 2019-08-12 07:23:33 +0200 | [diff] [blame] | 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' ] } |