]> xenbits.xensource.com Git - people/royger/xen-test-framework.git/commitdiff
Avoid a constantly rebooting domain when triple faults occur
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 10 Dec 2015 14:03:30 +0000 (14:03 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 10 Dec 2015 14:03:30 +0000 (14:03 +0000)
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
config/default-hvm.cfg.in

index 4e5cf8dfe7a7cb07bdea8688b534aec71c3bfeae..38470b663a2da9efb049bf04953bf897d46bdb0c 100644 (file)
@@ -3,6 +3,10 @@ builder="hvm"
 memory=128
 firmware_override="test-@@ENV@@-@@NAME@@"
 
+# The framework doesn't reboot.  A reboot signal is almost certainly a triple
+# fault instead.  Prevent it turning into a runaway domain.
+on_reboot = "destroy"
+
 # Work around a bug whereby both Xen and libxl fail to calculate the minimum
 # required shadow pool size for this VM, which causes a failure to construct
 # the domain on hardware lacking hap support.