diff --git a/src/xen/xs_internal.c b/src/xen/xs_internal.c index 7e2d477c1e..7c82a3444c 100644 --- a/src/xen/xs_internal.c +++ b/src/xen/xs_internal.c @@ -52,7 +52,7 @@ #include "xen_hypervisor.h" #include "virstring.h" -#define VIR_FROM_THIS VIR_FROM_XEN +#define VIR_FROM_THIS VIR_FROM_XENSTORE VIR_LOG_INIT("xen.xs_internal"); diff --git a/src/xenconfig/xen_common.c b/src/xenconfig/xen_common.c index 7cc8639977..284a2e5c92 100644 --- a/src/xenconfig/xen_common.c +++ b/src/xenconfig/xen_common.c @@ -39,6 +39,7 @@ #include "virstring.h" #include "xen_common.h" +#define VIR_FROM_THIS VIR_FROM_XEN /* * Convenience method to grab a long int from the config file object diff --git a/src/xenconfig/xen_sxpr.c b/src/xenconfig/xen_sxpr.c index cd6f2079d9..252a48b3d4 100644 --- a/src/xenconfig/xen_sxpr.c +++ b/src/xenconfig/xen_sxpr.c @@ -41,6 +41,8 @@ #include "virstoragefile.h" #include "virstring.h" +#define VIR_FROM_THIS VIR_FROM_SEXPR + VIR_LOG_INIT("xenconfig.xen_sxpr"); /* Get a domain id from a S-expression string */ diff --git a/src/xenconfig/xen_xm.c b/src/xenconfig/xen_xm.c index f3e2f719df..e09d97e7b6 100644 --- a/src/xenconfig/xen_xm.c +++ b/src/xenconfig/xen_xm.c @@ -36,6 +36,7 @@ #include "virstring.h" #include "xen_common.h" +#define VIR_FROM_THIS VIR_FROM_XENXM static int xenParseXMOS(virConfPtr conf, virDomainDefPtr def) diff --git a/src/xenconfig/xenxs_private.h b/src/xenconfig/xenxs_private.h index 4f529d658e..71e8a1a5c2 100644 --- a/src/xenconfig/xenxs_private.h +++ b/src/xenconfig/xenxs_private.h @@ -46,6 +46,4 @@ # define DEFAULT_VIF_SCRIPT "vif-bridge" # endif -# define VIR_FROM_THIS VIR_FROM_NONE - #endif /* __VIR_XENXS_PRIVATE_H__ */