[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] libxl: Improve logging in libxl__build_dom()
commit 1ab2cd70f2ea36da85ffa3f8a51453b49ea0996c Author: Simon Gaiser <simon@xxxxxxxxxxxxxxxxxxxxxx> AuthorDate: Thu Feb 8 22:49:09 2018 +0100 Commit: Wei Liu <wei.liu2@xxxxxxxxxx> CommitDate: Tue Feb 13 11:48:40 2018 +0000 libxl: Improve logging in libxl__build_dom() 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@xxxxxxxxxxxxxxxxxxxxxx> Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> --- tools/libxl/libxl_dom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c index 29fd2f5..2e29b52 100644 --- 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 ) { - LOGE(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 ) { -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |