[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 24/35] libxl/libxl_no_colo.c: used LOG*D functions



From: Cédric Bosdonnat <cedric.bosdonnat@xxxxxxx>

Use LOG*D logging functions where possible instead of the LOG* ones.

Signed-off-by: Cédric Bosdonnat <cbosdonnat@xxxxxxxx>
---
 tools/libxl/libxl_no_colo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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);
 }
-- 
2.10.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.