From fd0101c0a3c04b35c88a3c6acd4414130c77ba0d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 22 Dec 2016 13:43:01 +0000 Subject: [PATCH] ts-xen-install: Pass `noreboot' to Xen 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 --- ts-xen-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-xen-install b/ts-xen-install index 2a1784df..c921e69d 100755 --- a/ts-xen-install +++ b/ts-xen-install @@ -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'); -- 2.39.5