]> xenbits.xensource.com Git - people/aperard/osstest.git/commitdiff
ts-xen-install: Pass `noreboot' to Xen
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 22 Dec 2016 13:43:01 +0000 (13:43 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 22 Dec 2016 19:14:31 +0000 (19:14 +0000)
This prevents Xen from rebooting the host, if Xen crashes.

This reboot serves no function in osstest, since a crashed host will
be automatically power cycled to recover it.  (Firstly, during log
collection, a renewed attempt to boot from the hard disk; then, during
the next test, netboot to wipe the machine to reinstall it.)

But the reboot does make logs more confusing, and we suspect that the
reboot loops which can occur (eg if the version of Xen and Linux being
tested always crashes on boot) might be implicated in our test boxes
occasionally forgetting their boot order.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
ts-xen-install

index 2a1784dfe572595014845098a900d59c4a89b9fa..c921e69d547ebf3c867681a5c3b6142cfd5ef40f 100755 (executable)
@@ -142,7 +142,7 @@ sub adjustconfig () {
 }
 
 sub setupboot () {
-    my $xenhopt= "conswitch=x watchdog";
+    my $xenhopt= "conswitch=x watchdog noreboot";
 
     my $cons= get_host_property($ho, 'XenSerialConsole', 'com1');