2 * This file is part of the libvirt-go project
4 * Permission is hereby granted, free of charge, to any person obtaining a copy
5 * of this software and associated documentation files (the "Software"), to deal
6 * in the Software without restriction, including without limitation the rights
7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 * copies of the Software, and to permit persons to whom the Software is
9 * furnished to do so, subject to the following conditions:
11 * The above copyright notice and this permission notice shall be included in
12 * all copies or substantial portions of the Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 * Copyright (c) 2013 Alex Zorin
23 * Copyright (C) 2016 Red Hat, Inc.
27 #ifndef LIBVIRT_GO_ERROR_COMPAT_H__
28 #define LIBVIRT_GO_ERROR_COMPAT_H__
32 #ifndef VIR_FROM_BHYVE
33 #define VIR_FROM_BHYVE 57
39 #ifndef VIR_FROM_CRYPTO
40 #define VIR_FROM_CRYPTO 58
46 #ifndef VIR_FROM_FIREWALL
47 #define VIR_FROM_FIREWALL 59
53 #ifndef VIR_ERR_CPU_INCOMPATIBLE
54 #define VIR_ERR_CPU_INCOMPATIBLE 91
60 #ifndef VIR_FROM_POLKIT
61 #define VIR_FROM_POLKIT 60
67 #ifndef VIR_ERR_XML_INVALID_SCHEMA
68 #define VIR_ERR_XML_INVALID_SCHEMA 92
74 #ifndef VIR_FROM_THREAD
75 #define VIR_FROM_THREAD 61
81 #ifndef VIR_FROM_ADMIN
82 #define VIR_FROM_ADMIN 62
88 #ifndef VIR_ERR_MIGRATE_FINISH_OK
89 #define VIR_ERR_MIGRATE_FINISH_OK 93
95 #ifndef VIR_FROM_LOGGING
96 #define VIR_FROM_LOGGING 63
101 #ifndef VIR_FROM_XENXL
102 #define VIR_FROM_XENXL 64
108 #ifndef VIR_FROM_PERF
109 #define VIR_FROM_PERF 65
112 #ifndef VIR_ERR_AUTH_UNAVAILABLE
113 #define VIR_ERR_AUTH_UNAVAILABLE 94
116 #ifndef VIR_ERR_NO_SERVER
117 #define VIR_ERR_NO_SERVER 95
123 #ifndef VIR_ERR_NO_CLIENT
124 #define VIR_ERR_NO_CLIENT 96
130 #ifndef VIR_ERR_AGENT_UNSYNCED
131 #define VIR_ERR_AGENT_UNSYNCED 97
136 #ifndef VIR_ERR_LIBSSH
137 #define VIR_ERR_LIBSSH 98
140 #ifndef VIR_FROM_LIBSSH
141 #define VIR_FROM_LIBSSH 66
146 #ifndef VIR_FROM_RESCTRL
147 #define VIR_FROM_RESCTRL 67
152 #ifndef VIR_ERR_DEVICE_MISSING
153 #define VIR_ERR_DEVICE_MISSING 99
158 #ifndef VIR_ERR_INVALID_NWFILTER_BINDING
159 #define VIR_ERR_INVALID_NWFILTER_BINDING 100
162 #ifndef VIR_ERR_NO_NWFILTER_BINDING
163 #define VIR_ERR_NO_NWFILTER_BINDING 101
166 #endif /* LIBVIRT_GO_ERROR_COMPAT_H__ */