From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 345AB740041 for ; Thu, 20 Jul 2023 11:06:18 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=6BQae6avJUfugn/B8iDa0eEQWMJzil0i4dY2opVKAfY=; c=relaxed/simple; d=groups.io; h=X-Received:X-Received:X-Received:X-MC-Unique:X-Received:X-Received:X-Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:In-Reply-To:X-Scanned-By:X-Mimecast-Spam-Score:X-Mimecast-Originator:Precedence:List-Unsubscribe:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:X-Gm-Message-State:Content-Type:Content-Disposition:Content-Transfer-Encoding; s=20140610; t=1689851177; v=1; b=THMd9yqJfBa8/lQPs9ueTmDKgfUxki6zZRAwkoPr8QK5YHx3if63ZJkV5hF0zr/gxpG3xPOD 0qnRLPafhSLqgXldQqdVSFueaxdNUKvkxpZu01UZhFmoEl7wtHBYrQsVceqdFpXPW2dGKRerKwY YyQDcCPoZxoFexNMxXFz9LVo= X-Received: by 127.0.0.2 with SMTP id gXkzYY7687511xrwFBlsVIcV; Thu, 20 Jul 2023 04:06:17 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.10338.1689851177163595834 for ; Thu, 20 Jul 2023 04:06:17 -0700 X-Received: from mimecast-mx02.redhat.com (66.187.233.73 [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-98-cDLDMHrbN6yev_kJbPSwxQ-1; Thu, 20 Jul 2023 07:06:14 -0400 X-MC-Unique: cDLDMHrbN6yev_kJbPSwxQ-1 X-Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 582B628040A8; Thu, 20 Jul 2023 11:06:14 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.193.89]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DD481492B02; Thu, 20 Jul 2023 11:06:13 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 0A02918009DC; Thu, 20 Jul 2023 13:06:11 +0200 (CEST) Date: Thu, 20 Jul 2023 13:06:11 +0200 From: "Gerd Hoffmann" To: devel@edk2.groups.io, changqing.li@eng.windriver.com Cc: changqing.li@windriver.com Subject: Re: [edk2-devel] Cannot list all harddisk in boot manager Message-ID: References: MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,kraxel@redhat.com X-Gm-Message-State: qxu71aO7jlT27GhLx3yEeisPx7686176AA= Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=THMd9yqJ; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io On Thu, Jul 20, 2023 at 02:06:34PM +0800, Changqing Li wrote: > Hi, > > I found that ovmf build with edk2-stable202210 is not works well.  It cannot > find all the harddisk, and list them in boot manager: > > But with edk2-stable2022008, it works well.  I think this is a bug, should I > open an issue in bugzilla? No, this is intentional behavior. ovmf only connects devices with a boot priority to speed up hardware initialization. > -device scsi-hd,drive=hd1 -device scsi-hd,drive=hd2 > -device scsi-hd,drive=hd3 Add bootindex= (smaller numbers are higher priority) to the disks you want show up in the menu. ovmf will and them then, sorted according to the given priority. > And I find that if I add bootindex for the three HD,  it will works well,  > all the harddisk will be list in boot manager. Oh, you figured yourself ;) take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#107098): https://edk2.groups.io/g/devel/message/107098 Mute This Topic: https://groups.io/mt/100253249/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-