libxl: do not log lack of guest support for suspend event channel
PATCH 1/1 libxl: do not log lack of guest support for suspend event channel
# HG changeset patch
# User Ian Campbell <[email protected]>
# Date 1283444777 -3600
# Node ID ff636f6a2fcb846ebd9002b4f339d2c44a45c1b2
# Parent 4f93c55a488c7cdde0bdcf2235f8de1b7c80a1af
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 <[email protected]>
tools/libxl/libxl_dom.c +1 -3
@@ -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 )