From patchwork Wed Oct 29 10:41:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 39757 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CFC9A24029 for ; Wed, 29 Oct 2014 10:43:06 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id f15sf1534304lbj.11 for ; Wed, 29 Oct 2014 03:43:05 -0700 (PDT) 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:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=LyZr9G1AELXnjJUxlddXObBIjiiRGZJ3riADu3nhRcE=; b=X8lchZyMQEou3+3djQtM9UMLkYL2XJZrpVCofQYsFDP4SHstETFu47D3+o78An3uzq su15oPalm9rnLs7MKMsOY1oq66RWzx6s288cgfAvvhsTaydrXu76IQoHARtQAexYUj8q yr8VMXXacOcpSEBj8NqxB60R5/rAkZ7joOnYWuPOX6X0mWapWpm5rINiyA1D3CZDLLoa DXTBrwHhbkD6dTNCT2Fpge/tAk7UEkRkarxJKPd1z0cB4HN5aN0e8Mvpv7qfTVb2fim5 E3tBY9WDYdMnJYuYQPT8Zy0yNIW8eivY9QmVM/6oxxetRaMBZd0DdwctaLm3a0Vfcmgt 8/Ug== X-Gm-Message-State: ALoCoQkYxBiWTMSMqJuydIvt5ojwKPYBH2V5B4Ff4+5foIH+4soj664ejzm8J+3YNAcpu80TDd5P X-Received: by 10.152.1.133 with SMTP id 5mr148594lam.8.1414579385428; Wed, 29 Oct 2014 03:43:05 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.138 with SMTP id q10ls183636laj.83.gmail; Wed, 29 Oct 2014 03:43:05 -0700 (PDT) X-Received: by 10.112.144.228 with SMTP id sp4mr10258968lbb.58.1414579385125; Wed, 29 Oct 2014 03:43:05 -0700 (PDT) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPS id lf2si6630121lac.52.2014.10.29.03.43.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Oct 2014 03:43:05 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by mail-lb0-f175.google.com with SMTP id b6so2246846lbj.34 for ; Wed, 29 Oct 2014 03:43:05 -0700 (PDT) X-Received: by 10.153.8.164 with SMTP id dl4mr10425309lad.29.1414579381563; Wed, 29 Oct 2014 03:43:01 -0700 (PDT) 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.84.229 with SMTP id c5csp633496lbz; Wed, 29 Oct 2014 03:43:00 -0700 (PDT) X-Received: by 10.52.114.228 with SMTP id jj4mr4267251vdb.46.1414579380347; Wed, 29 Oct 2014 03:43:00 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id d2si2245415vcs.91.2014.10.29.03.42.59 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 29 Oct 2014 03:43:00 -0700 (PDT) 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 1XjQhZ-0002ci-PL; Wed, 29 Oct 2014 10:42:05 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XjQhW-0002Uf-3j for xen-devel@lists.xen.org; Wed, 29 Oct 2014 10:42:02 +0000 Received: from [85.158.139.211] by server-2.bemta-5.messagelabs.com id 5D/B1-02953-974C0545; Wed, 29 Oct 2014 10:42:01 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-5.tower-206.messagelabs.com!1414579318!12389610!2 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.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 645 invoked from network); 29 Oct 2014 10:42:00 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-5.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 29 Oct 2014 10:42:00 -0000 X-IronPort-AV: E=Sophos;i="5.04,809,1406592000"; d="scan'208";a="186004756" Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.79) with Microsoft SMTP Server id 14.3.181.6; Wed, 29 Oct 2014 06:42:00 -0400 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 1XjQhS-00014z-Or; Wed, 29 Oct 2014 10:41:59 +0000 Received: by zakaz.uk.xensource.com (sSMTP sendmail emulation); Wed, 29 Oct 2014 10:41:58 +0000 From: Ian Campbell To: Date: Wed, 29 Oct 2014 10:41:38 +0000 Message-ID: <1414579302-6692-16-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1414579268.29975.13.camel@citrix.com> References: <1414579268.29975.13.camel@citrix.com> MIME-Version: 1.0 X-DLP: MIA1 Cc: Ian Campbell , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH OSSTEST v2 16/20] 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.175 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 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;