[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Subject: xl: log unknown domain shutdown reason and default to destroy
# HG changeset patch # User Ian Campbell <ian.campbell@xxxxxxxxxx> # Date 1280415373 -3600 # Node ID e7a7eec8f2ed543ba26fa34f40743e12ee96b591 # Parent 578ed14c3c673d734318bcefa4597a7d7d9aee37 Subject: xl: log unknown domain shutdown reason and default to destroy Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Acked-by: Christoph Egger <Christoph.Egger@xxxxxxx> Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- tools/libxl/xl_cmdimpl.c | 3 +++ 1 files changed, 3 insertions(+) diff -r 578ed14c3c67 -r e7a7eec8f2ed tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Thu Jul 29 10:31:21 2010 +0100 +++ b/tools/libxl/xl_cmdimpl.c Thu Jul 29 15:56:13 2010 +0100 @@ -1113,6 +1113,9 @@ static int handle_domain_death(libxl_ctx case SHUTDOWN_watchdog: action = d_config->on_watchdog; break; + default: + LOG("Unknown shutdown reason code %s. Destroying domain.", info->shutdown_reason); + action = ACTION_DESTROY; } LOG("Action for shutdown reason code %d is %s", info->shutdown_reason, action_on_shutdown_names[action]); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |