aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2010-09-02 18:16:28 +0100
committerIan Campbell <ian.campbell@citrix.com>2010-09-02 18:16:28 +0100
commit9b870a7e35d894536701834b1efa01ff42414b1f (patch)
treed89fa2bf1b97af7abd99c3ca70e745b4546ee3f8
parent422ae1ca2c9135fe1e8fc6ed821f7c9699b5b274 (diff)
downloadxen-9b870a7e35d894536701834b1efa01ff42414b1f.tar.gz
xen-9b870a7e35d894536701834b1efa01ff42414b1f.tar.bz2
xen-9b870a7e35d894536701834b1efa01ff42414b1f.zip
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@citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
-rw-r--r--tools/libxl/libxl_dom.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c
index a07bea755b..e83bbbf20b 100644
--- a/tools/libxl/libxl_dom.c
+++ b/tools/libxl/libxl_dom.c
@@ -378,9 +378,7 @@ int core_suspend(libxl_ctx *ctx, uint32_t domid, int fd,
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)