From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=209.132.183.28; helo=mx1.redhat.com; envelope-from=lersek@redhat.com; receiver=edk2-devel@lists.01.org Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 21C9121B02822 for ; Fri, 1 Feb 2019 02:43:40 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 75996C058CA9; Fri, 1 Feb 2019 10:43:40 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-120-49.rdu2.redhat.com [10.10.120.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id 94AF6600CC; Fri, 1 Feb 2019 10:43:39 +0000 (UTC) To: Nikita Leshenko , edk2-devel@lists.01.org Cc: liran.alon@oracle.com References: <20190131100724.20907-1-nikita.leshchenko@oracle.com> From: Laszlo Ersek Message-ID: <683c29c9-b644-922e-59aa-6fa36e4ed245@redhat.com> Date: Fri, 1 Feb 2019 11:43:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20190131100724.20907-1-nikita.leshchenko@oracle.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 01 Feb 2019 10:43:40 +0000 (UTC) Subject: Re: OvmfPkg: Support booting from Fusion-MPT SCSI controllers X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2019 10:43:41 -0000 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 01/31/19 11:07, Nikita Leshenko wrote: > This series adds driver support for: > - LSI53C1030 > - SAS1068 > - SAS1068E > > These controllers are widely supported by QEMU, VirtualBox and VMWare. This work > is part of the more general agenda of enhancing OVMF boot device support to have > feature parity with SeaBIOS. If you mark a scsi-cd or scsi-hd device with "bootindex=1" on the QEMU command line, such that the device in question hangs off of the Fusion-MPT SCSI controller, can you tell me what the corresponding entry is in the "bootorder" fw_cfg file? You can find that line in the OVMF debug log, if you build OVMF with the DEBUG_VERBOSE bit (value 0x00400000) set in "gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel". Look for: > ConnectDevicesFromQemu: FwCfg: > ... > ConnectDevicesFromQemu: FwCfg: and > SetBootOrderFromQemu: FwCfg: > ... > SetBootOrderFromQemu: FwCfg: I'm asking because you might have to extend OvmfPkg/Library/QemuBootOrderLib too (namely function TranslatePciOfwNodes()), if you want the "bootindex" property to be honored by OVMF, for storage devices hanging off of this controller. Thanks Laszlo