1/* AUTOMATICALLY GENERATED, DO NOT MODIFY */
2
3/*
4 * Schema-defined QAPI types
5 *
6 * Copyright IBM, Corp. 2011
7 * Copyright (c) 2013-2018 Red Hat Inc.
8 *
9 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
10 * See the COPYING.LIB file in the top-level directory.
11 */
12
13#include "qemu/osdep.h"
14#include "qapi/dealloc-visitor.h"
15#include "qapi-types-error.h"
16#include "qapi-visit-error.h"
17
18const QEnumLookup QapiErrorClass_lookup = {
19 .array = (const char *const[]) {
20 [QAPI_ERROR_CLASS_GENERICERROR] = "GenericError",
21 [QAPI_ERROR_CLASS_COMMANDNOTFOUND] = "CommandNotFound",
22 [QAPI_ERROR_CLASS_DEVICENOTACTIVE] = "DeviceNotActive",
23 [QAPI_ERROR_CLASS_DEVICENOTFOUND] = "DeviceNotFound",
24 [QAPI_ERROR_CLASS_KVMMISSINGCAP] = "KVMMissingCap",
25 },
26 .size = QAPI_ERROR_CLASS__MAX
27};
28
29/* Dummy declaration to prevent empty .o file */
30char qapi_dummy_qapi_types_error_c;
31