|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH OSSTEST v4 06/13] 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.
For the dom0 case this involved refactoring the existing provision of
the commandline to be less open-coded in the boot script here doc.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
v3: Honour rootdelay when booting dom 0.
---
Osstest/Debian.pm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index 0b047df..276457e 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -135,11 +135,13 @@ sub setupboot_uboot ($$$) {
my $initrd = "initrd.img-$want_kernver";
my $root= target_guest_lv_name($ho,"root");
+ my $rootdelay=get_host_property($ho, "rootdelay");
my @xenkopt;
push @xenkopt, $xenkopt;
push @xenkopt, "ro";
push @xenkopt, "root=$root";
+ push @xenkopt, "rootdelay=$rootdelay" if $rootdelay;
$xenkopt = join ' ', @xenkopt;
@@ -701,9 +703,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" if $rootdelay;
push @bootargs, "console=$console" unless $console eq "NONE";
my $bootargs = join ' ', @bootargs;
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |