mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
Xen: add XENXL to virErrorDomain enum
Add "Xen XL Config" to the virErrorDomain enum and use it in src/xenconfig/xen_xl.c.
This commit is contained in:
parent
7d3698b47c
commit
8c3c32f16a
@ -128,6 +128,7 @@ typedef enum {
|
||||
VIR_FROM_THREAD = 61, /* Error from thread utils */
|
||||
VIR_FROM_ADMIN = 62, /* Error from admin backend */
|
||||
VIR_FROM_LOGGING = 63, /* Error from log manager */
|
||||
VIR_FROM_XENXL = 64, /* Error from Xen xl config code */
|
||||
|
||||
# ifdef VIR_ENUM_SENTINELS
|
||||
VIR_ERR_DOMAIN_LAST
|
||||
|
@ -135,6 +135,7 @@ VIR_ENUM_IMPL(virErrorDomain, VIR_ERR_DOMAIN_LAST,
|
||||
"Thread jobs",
|
||||
"Admin Interface",
|
||||
"Log Manager",
|
||||
"Xen XL Config",
|
||||
)
|
||||
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "virstoragefile.h"
|
||||
#include "xen_xl.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_NONE
|
||||
#define VIR_FROM_THIS VIR_FROM_XENXL
|
||||
|
||||
/*
|
||||
* Xen provides a libxl utility library, with several useful functions,
|
||||
|
Loading…
Reference in New Issue
Block a user