diff mbox

[v2,24/35] libxl/libxl_no_colo.c: used LOG*D functions

Message ID 20161202150841.31227-25-cbosdonnat@suse.com (mailing list archive)
State New, archived
Headers show

Commit Message

Cedric Bosdonnat Dec. 2, 2016, 3:08 p.m. UTC
From: Cedric Bosdonnat <cbosdonnat@suse.com>

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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/tools/libxl/libxl_no_colo.c b/tools/libxl/libxl_no_colo.c
index 152f198..2e1315c 100644
--- a/tools/libxl/libxl_no_colo.c
+++ b/tools/libxl/libxl_no_colo.c
@@ -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);
 }