From patchwork Fri Nov 21 13:16:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 41312 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5FE88244B0 for ; Fri, 21 Nov 2014 13:19:50 +0000 (UTC) Received: by mail-wi0-f197.google.com with SMTP id l15sf3318580wiw.0 for ; Fri, 21 Nov 2014 05:19:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:list-archive; bh=zmH/+u84z8wHl/3hcO6wGOTHO97bFZGq/qgCOhDh3TA=; b=Wij8ixTdeAFADtBi4eyy1LYj2NPwP8XPFHBRiotQv53lZsBUFjuk0huvJq7LAAREA9 E2rgF3qnb5RSvaLfQxpLya5Ri8h8PKDsy4rWiBokmz8BuN6PGS3a+fTKHYRVWIMkpHRM oGc0Q5vbs+gc24nkH+comuR7t7U3NRquyLu9aVENSJ5WfuwgyaF0QiE0Hz2TXGX7335r tgQJAbYqCqMHxt1ZfBxgQ/1Rp8FO54F9qhmdA9AUoRQcrjH5vDjybSXZXS5v5tDXr87S 7+bSk6WEJaAXSHWj+BhY31/JWnZom2yFPF6zm8COc4alBZ/dwTzuOPHR5kIr4cq4r7rg 4q8w== X-Gm-Message-State: ALoCoQnwNIO1XVQe7jZ654HMvnbwabansw2CMmyPIahNBsa3CCO6+gDLpVZ2fpKxojYl8mmBVvcM X-Received: by 10.194.176.106 with SMTP id ch10mr1038616wjc.6.1416575988303; Fri, 21 Nov 2014 05:19:48 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.169 with SMTP id c9ls170993laa.104.gmail; Fri, 21 Nov 2014 05:19:48 -0800 (PST) X-Received: by 10.112.150.136 with SMTP id ui8mr4525581lbb.60.1416575988033; Fri, 21 Nov 2014 05:19:48 -0800 (PST) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id jj7si5333060lbc.65.2014.11.21.05.19.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Nov 2014 05:19:48 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by mail-lb0-f174.google.com with SMTP id w7so3987354lbi.5 for ; Fri, 21 Nov 2014 05:19:47 -0800 (PST) X-Received: by 10.112.189.10 with SMTP id ge10mr4439237lbc.23.1416575987906; Fri, 21 Nov 2014 05:19:47 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp87321lbc; Fri, 21 Nov 2014 05:19:47 -0800 (PST) X-Received: by 10.224.29.196 with SMTP id r4mr6734100qac.12.1416575984855; Fri, 21 Nov 2014 05:19:44 -0800 (PST) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id o9si6756485qcg.16.2014.11.21.05.19.21 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 21 Nov 2014 05:19:44 -0800 (PST) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Xro5R-0007Kt-Rz; Fri, 21 Nov 2014 13:17:21 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Xro5P-0007Ib-Pv for xen-devel@lists.xen.org; Fri, 21 Nov 2014 13:17:19 +0000 Received: from [193.109.254.147] by server-11.bemta-14.messagelabs.com id 79/89-02696-F5B3F645; Fri, 21 Nov 2014 13:17:19 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-13.tower-27.messagelabs.com!1416575827!13996777!6 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n X-StarScan-Received: X-StarScan-Version: 6.12.4; banners=-,-,- X-VirusChecked: Checked Received: (qmail 29677 invoked from network); 21 Nov 2014 13:17:18 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-13.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 21 Nov 2014 13:17:18 -0000 X-IronPort-AV: E=Sophos;i="5.07,431,1413244800"; d="scan'208";a="193695934" Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.78) with Microsoft SMTP Server id 14.3.181.6; Fri, 21 Nov 2014 08:17:15 -0500 Received: from kazak.uk.xensource.com ([10.80.2.80] helo=zakaz.uk.xensource.com) by ukmail1.uk.xensource.com with smtp (Exim 4.69) (envelope-from ) id 1Xro5K-0003Au-91; Fri, 21 Nov 2014 13:17:15 +0000 Received: by zakaz.uk.xensource.com (sSMTP sendmail emulation); Fri, 21 Nov 2014 13:17:14 +0000 From: Ian Campbell To: Date: Fri, 21 Nov 2014 13:16:59 +0000 Message-ID: <1416575824-15555-10-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1416505070.26869.2.camel@citrix.com> References: <1416505070.26869.2.camel@citrix.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: Ian Campbell , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH OSSTEST v3 10/15] Osstest/Debian: support adding a rootdelay property to bootargs X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ian.campbell@citrix.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: 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 Acked-by: Ian Jackson --- Osstest/Debian.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 8b70442..bdbb55d 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -694,9 +694,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;