[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH OSSTEST v2 16/20] 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.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 Osstest/Debian.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index 5435bdf..8a4ad02 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -689,9 +689,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;
-- 
2.1.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.