projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc90618
)
libxl: Improve logging in libxl__build_dom()
author
Simon Gaiser
<simon@invisiblethingslab.com>
Thu, 8 Feb 2018 21:49:09 +0000
(22:49 +0100)
committer
Wei Liu
<wei.liu2@citrix.com>
Tue, 13 Feb 2018 11:48:40 +0000
(11:48 +0000)
xc_dom_parse_image() does not set errno (at least in many code paths).
So LOGE() is not useful.
Signed-off-by: Simon Gaiser <simon@invisiblethingslab.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
tools/libxl/libxl_dom.c
patch
|
blob
|
history
diff --git
a/tools/libxl/libxl_dom.c
b/tools/libxl/libxl_dom.c
index 29fd2f5d6a835ef2c04e760eff9348b057dcd823..2e29b52166bcc9a71e7c257191aece9a497df182 100644
(file)
--- a/
tools/libxl/libxl_dom.c
+++ b/
tools/libxl/libxl_dom.c
@@
-715,7
+715,7
@@
static int libxl__build_dom(libxl__gc *gc, uint32_t domid,
}
#endif
if ( (ret = xc_dom_parse_image(dom)) != 0 ) {
- LOG
E
(ERROR, "xc_dom_parse_image failed");
+ LOG(ERROR, "xc_dom_parse_image failed");
goto out;
}
if ( (ret = libxl__arch_domain_init_hw_description(gc, info, state, dom)) != 0 ) {