aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen
diff options
context:
space:
mode:
authorEwan Mellor <ewan@xensource.com>2007-03-26 00:40:34 +0100
committerEwan Mellor <ewan@xensource.com>2007-03-26 00:40:34 +0100
commitab492219788912d4bb40b2974256b0c31cd17227 (patch)
tree5e3470c94e953cf404907e125f8d716204553d93 /tools/libxen
parent0b438dc835aeee539883a96978b151dfc6e6af24 (diff)
downloadxen-ab492219788912d4bb40b2974256b0c31cd17227.tar.gz
xen-ab492219788912d4bb40b2974256b0c31cd17227.tar.bz2
xen-ab492219788912d4bb40b2974256b0c31cd17227.zip
Create the new VM with the default crash behaviour set.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/libxen')
-rw-r--r--tools/libxen/test/test_bindings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxen/test/test_bindings.c b/tools/libxen/test/test_bindings.c
index 96ac6ef12f..68f7985f9d 100644
--- a/tools/libxen/test/test_bindings.c
+++ b/tools/libxen/test/test_bindings.c
@@ -400,7 +400,7 @@ static xen_vm create_new_vm(xen_session *session, bool hvm)
.vcpus_at_startup = 2,
.actions_after_shutdown = XEN_ON_NORMAL_EXIT_DESTROY,
.actions_after_reboot = XEN_ON_NORMAL_EXIT_RESTART,
- .actions_after_crash = XEN_ON_CRASH_BEHAVIOUR_PRESERVE,
+ .actions_after_crash = XEN_ON_CRASH_BEHAVIOUR_RESTART,
.hvm_boot_policy = hvm ? "BIOS order" : NULL,
.hvm_boot_params = hvm ? hvm_boot_params : NULL,
.pv_bootloader = hvm ? NULL : "pygrub",