# HG changeset patch # User Ian Campbell <ian.campbell@citrix.com> # Date 1310735501 -3600 # Node ID b4959a9105ef33b4440ec02b95e6ee2f5b26da1d # Parent b719c752f2431c76e9f1e366e7c2947e6504d24a 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> diff -r b719c752f243 -r b4959a9105ef tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Fri Jul 15 14:06:46 2011 +0100 +++ b/tools/libxl/xl_cmdimpl.c Fri Jul 15 14:11:41 2011 +0100 @@ -1104,6 +1104,7 @@ static int handle_domain_death(libxl_ctx action = d_config->on_reboot; break; case SHUTDOWN_suspend: + LOG("Domain has suspended."); return 0; case SHUTDOWN_crash: action = d_config->on_crash; _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel