mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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@invisiblethingslab.com> Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
This commit is contained in:
1 parent
fc9061883a
commit
1ab2cd70f2
1 file changed
+1
-1
@@ -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 ) {
|
||||
|
||||