]> xenbits.xensource.com Git - xen.git/commitdiff
libxl/libxl_no_colo.c: used LOG*D functions
authorCedric Bosdonnat <cbosdonnat@suse.com>
Fri, 2 Dec 2016 15:08:30 +0000 (16:08 +0100)
committerWei Liu <wei.liu2@citrix.com>
Sat, 3 Dec 2016 15:57:34 +0000 (15:57 +0000)
Use LOG*D logging functions where possible instead of the LOG* ones.

Signed-off-by: Cédric Bosdonnat <cbosdonnat@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_no_colo.c

index 152f19885cc7e931b2ca53d50259daf6849abd4e..2e1315ca0fd607c5cb011a8120052d0dec33929e 100644 (file)
@@ -22,7 +22,7 @@ void libxl__colo_restore_setup(libxl__egc *egc,
 {
     STATE_AO_GC(crs->ao);
 
-    LOG(ERROR, "COLO is not supported");
+    LOGD(ERROR, crs->domid, "COLO is not supported");
 
     crs->callback(egc, crs, ERROR_FAIL);
 }
@@ -39,7 +39,7 @@ void libxl__colo_save_setup(libxl__egc *egc, libxl__colo_save_state *css)
     libxl__domain_save_state *dss = CONTAINER_OF(css, *dss, css);
     STATE_AO_GC(dss->ao);
 
-    LOG(ERROR, "COLO is not supported");
+    LOGD(ERROR, dss->domid, "COLO is not supported");
 
     dss->callback(egc, dss, ERROR_FAIL);
 }