aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-07-15 18:13:28 +0100
committerIan Campbell <ian.campbell@citrix.com>2011-07-15 18:13:28 +0100
commitc57de7d5ae7dd3fd6417f814c6a15dc1f7ded13c (patch)
tree928242d2dab00d2590f3c3305f75d56a4078db76 /tools
parentcf5cc0aa312a163acbccdaa525cf332d2bc7f363 (diff)
downloadxen-c57de7d5ae7dd3fd6417f814c6a15dc1f7ded13c.tar.gz
xen-c57de7d5ae7dd3fd6417f814c6a15dc1f7ded13c.tar.bz2
xen-c57de7d5ae7dd3fd6417f814c6a15dc1f7ded13c.zip
xl: log domain suspension.
Other shutdown reasons all end up saying something useful while suspend does not. With this patch the log looks like: Domain 670 is dead Domain has suspended. Done. Exiting now Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/libxl/xl_cmdimpl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c
index dafd741dae..28adcef86c 100644
--- a/tools/libxl/xl_cmdimpl.c
+++ b/tools/libxl/xl_cmdimpl.c
@@ -1104,6 +1104,7 @@ static int handle_domain_death(libxl_ctx *ctx, uint32_t domid, libxl_event *even
action = d_config->on_reboot;
break;
case SHUTDOWN_suspend:
+ LOG("Domain has suspended.");
return 0;
case SHUTDOWN_crash:
action = d_config->on_crash;