xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH]xl:fix XL_LOG_ERRNOVAL output
@ 2010-04-27  9:04 Yang Hongyang
  2010-04-30 16:34 ` Ian Jackson
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Hongyang @ 2010-04-27  9:04 UTC (permalink / raw)
  To: xen-devel

When I'm using following command to create a VM,suspect error outputed.
#xl create vmconf
Parsing config file vmconf
[-1] libxl_dom.c:162:build_pv: xc_dom_linux_build failed: Success

The patch fix this problem.

Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>

diff -r c87ec146229a tools/libxl/libxl_internal.h
--- a/tools/libxl/libxl_internal.h	Fri Apr 23 15:04:26 2010 +0100
+++ b/tools/libxl/libxl_internal.h	Wed Apr 28 00:58:58 2010 +0800
@@ -41,7 +41,7 @@
 #ifdef XL_LOGGING_ENABLED
 #define XL_LOG(ctx, loglevel, _f, _a...)   xl_log(ctx, loglevel, -1, __FILE__, __LINE__, __func__, _f, ##_a)
 #define XL_LOG_ERRNO(ctx, loglevel, _f, _a...)   xl_log(ctx, loglevel, errno, __FILE__, __LINE__, __func__, _f, ##_a)
-#define XL_LOG_ERRNOVAL(ctx, errnoval, loglevel, _f, _a...)   xl_log(ctx, loglevel, errnoval, __FILE__, __LINE__, __func__, _f, ##_a)
+#define XL_LOG_ERRNOVAL(ctx, loglevel, errnoval, _f, _a...)   xl_log(ctx, loglevel, errnoval, __FILE__, __LINE__, __func__, _f, ##_a)
 #else
 #define XL_LOG(ctx, loglevel, _f, _a...)
 #define XL_LOG_ERRNO(ctx, loglevel, _f, _a...)

-- 
Regards
Yang Hongyang

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH]xl:fix XL_LOG_ERRNOVAL output
  2010-04-27  9:04 [PATCH]xl:fix XL_LOG_ERRNOVAL output Yang Hongyang
@ 2010-04-30 16:34 ` Ian Jackson
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Jackson @ 2010-04-30 16:34 UTC (permalink / raw)
  To: Yang Hongyang; +Cc: xen-devel

Yang Hongyang writes ("[Xen-devel] [PATCH]xl:fix XL_LOG_ERRNOVAL output"):
> When I'm using following command to create a VM,suspect error outputed.
> #xl create vmconf
> Parsing config file vmconf
> [-1] libxl_dom.c:162:build_pv: xc_dom_linux_build failed: Success
> 
> The patch fix this problem.

Oops.

Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>

Thanks,
Ian.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-30 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-27  9:04 [PATCH]xl:fix XL_LOG_ERRNOVAL output Yang Hongyang
2010-04-30 16:34 ` Ian Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).