[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] libxl: do not log lack of guest support for suspend event channel
# HG changeset patch # User Ian Campbell <ian.campbell@xxxxxxxxxx> # 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 <ian.campbell@xxxxxxxxxx> diff -r 4f93c55a488c -r ff636f6a2fcb tools/libxl/libxl_dom.c --- a/tools/libxl/libxl_dom.c Thu Sep 02 17:14:48 2010 +0100 +++ b/tools/libxl/libxl_dom.c Thu Sep 02 17:26:17 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-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |