diff mbox

[Xen-devel,RFC,OSSTEST,16/19] Osstest/Debian: support adding a rootdelay property to bootargs

Message ID 1412942554-752-16-git-send-email-ian.campbell@citrix.com
State New
Headers show

Commit Message

Ian Campbell Oct. 10, 2014, 12:02 p.m. UTC
arndale appears to be quite slow (and asynchronous) at finding it's scsi
controller. rootdelay=3 seems to do the trick.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
 Osstest/Debian.pm | 2 ++
 1 file changed, 2 insertions(+)

Comments

Ian Jackson Oct. 10, 2014, 2:49 p.m. UTC | #1
Ian Campbell writes ("[PATCH RFC OSSTEST 16/19] Osstest/Debian: support adding a rootdelay property to bootargs"):
> arndale appears to be quite slow (and asynchronous) at finding it's scsi
> controller. rootdelay=3 seems to do the trick.

Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
diff mbox

Patch

diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index 97a6cda..eca4d7f 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -673,9 +673,11 @@  END
 	my @bootargs;
 
 	my $root=target_guest_lv_name($ho,"root");
+	my $rootdelay=get_host_property($ho, "rootdelay");
 	my $console=get_host_native_linux_console($ho);
 
 	push @bootargs, "root=$root";
+	push @bootargs, "rootdelay=$rootdelay";
 	push @bootargs, "console=$console" unless $console eq "NONE";
 
 	my $bootargs = join ' ', @bootargs;