]> xenbits.xensource.com Git - xen.git/commitdiff
Create the new VM with the default crash behaviour set.
authorEwan Mellor <ewan@xensource.com>
Sun, 25 Mar 2007 23:40:34 +0000 (00:40 +0100)
committerEwan Mellor <ewan@xensource.com>
Sun, 25 Mar 2007 23:40:34 +0000 (00:40 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/libxen/test/test_bindings.c

index 96ac6ef12f7fa829ae194f4bb10c6ea41eec639b..68f7985f9dd57cc4cae8700f9e4400c4f4d01602 100644 (file)
@@ -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",