projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
877ca1b
)
Subject: xl: log unknown domain shutdown reason and default to destroy
author
Ian Campbell
<ian.campbell@citrix.com>
Thu, 29 Jul 2010 14:56:13 +0000
(15:56 +0100)
committer
Ian Campbell
<ian.campbell@citrix.com>
Thu, 29 Jul 2010 14:56:13 +0000
(15:56 +0100)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Christoph Egger <Christoph.Egger@amd.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/xl_cmdimpl.c
patch
|
blob
|
history
diff --git
a/tools/libxl/xl_cmdimpl.c
b/tools/libxl/xl_cmdimpl.c
index f7cf5a4b7d2875b29fc143a47fd50cf17586ae95..6a1ae0a612549dc62727ba7eb7da040b0acc70d1 100644
(file)
--- a/
tools/libxl/xl_cmdimpl.c
+++ b/
tools/libxl/xl_cmdimpl.c
@@
-1113,6
+1113,9
@@
static int handle_domain_death(libxl_ctx *ctx, uint32_t domid, libxl_event *even
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]);