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

[Xen-changelog] [xen-unstable] libxl: do not log lack of guest support for suspend event channel



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1283447788 -3600
# Node ID 12558dbef0341f187d44734d24a39e24ec6896fe
# Parent  758154658bf86527e16b046365819e2b72c5ca11
libxl: do not log lack of guest support for suspend event channel

Implementation of the suspend event channel is completely optional for
a guest so do not log this normal occurrence.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/libxl/libxl_dom.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

diff -r 758154658bf8 -r 12558dbef034 tools/libxl/libxl_dom.c
--- a/tools/libxl/libxl_dom.c   Thu Sep 02 18:15:29 2010 +0100
+++ b/tools/libxl/libxl_dom.c   Thu Sep 02 18:16:28 2010 +0100
@@ -378,9 +378,7 @@ int core_suspend(libxl_ctx *ctx, uint32_
     if (si.xce > 0) {
         port = xs_suspend_evtchn_port(si.domid);
 
-        if (port < 0) {
-            XL_LOG(ctx, XL_LOG_WARNING, "Failed to get the suspend evtchn 
port");
-        } else {
+        if (port >= 0) {
             si.suspend_eventchn = xc_suspend_evtchn_init(ctx->xch, si.xce, 
si.domid, port);
 
             if (si.suspend_eventchn < 0)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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