xl: log domain suspension
PATCH 1/1 xl: log domain suspension
# HG changeset patch
# User Ian Campbell <[email protected]> # 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 <[email protected]>
tools/libxl/xl_cmdimpl.c +1 -0
@@ -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;