From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: [PATCHv6 00/16] boot order specification Date: Mon, 29 Nov 2010 14:07:52 +0200 Message-ID: <20101129120752.GA31881@redhat.com> References: <20101124011907.GA23305@morn.localdomain> <20101124100311.GB15111@redhat.com> <20101127154110.GA11197@morn.localdomain> <20101127162216.GA14385@redhat.com> <20101127164939.GA13605@morn.localdomain> <20101127170619.GB14385@redhat.com> <20101127174726.GA15238@morn.localdomain> <20101127181541.GC14385@redhat.com> <20101127184012.GA17455@morn.localdomain> <4CF37E31.3040700@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Kevin O'Connor" , qemu-devel@nongnu.org, kvm@vger.kernel.org, blauwirbel@gmail.com, armbru@redhat.com, alex.williamson@redhat.com, mst@redhat.com, Anthony Liguori To: Gerd Hoffmann Return-path: Received: from mx1.redhat.com ([209.132.183.28]:24076 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753702Ab0K2MH7 (ORCPT ); Mon, 29 Nov 2010 07:07:59 -0500 Content-Disposition: inline In-Reply-To: <4CF37E31.3040700@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Nov 29, 2010 at 11:19:29AM +0100, Gerd Hoffmann wrote: > Hi, > > >>BTW are you actually aware of any option rom with multiple BCVs and, if > >>yes, how those BCVs differ? > > > >Multiple BCVs - yes. A SCSI card will define a BCV for each attached > >drive. I don't have a scsi card myself, but the support was added by > >a user who ran into the problem first hand. > > FYI: You can test with a virtual card ;) > > lsi emulation in recent qemu versions is good enougth that the > original boot rom runs. You can fetch it here: > > http://www.lsi.com/DistributionSystem/AssetDocument/files/support/ssp/sdms/Bios/lsi_bios.zip > > qemu -drive if=scsi,file=$image -option-rom 8xx_64.rom > > Gives you a list like this ... > > Press F12 for boot menu. > > Select boot device: > > 1. AHCI/0: QEMU HARDDISK ATA-7 Hard-Disk (8192 MiBytes) > 2. #20 ID00 LUN0 QEMU QEMU HARD > 3. #20 ID01 LUN0 QEMU QEMU HARD > 4. DVD/CD [ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD] > 5. DVD/CD [AHCI/2: QEMU DVD-ROM ATAPI-4 DVD/CD] > 6. gPXE (PCI 00:03.0) > > ... where entries 2+3 are created by the scsi rom. > Thanks! If BCVs created by optionrom are always sorted by target we can even determine what BCV correspond to which device path. -- Gleb. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44685 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PN2WV-0002fb-Rj for qemu-devel@nongnu.org; Mon, 29 Nov 2010 07:08:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PN2WU-0004oL-I0 for qemu-devel@nongnu.org; Mon, 29 Nov 2010 07:07:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:16546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PN2WU-0004oB-BM for qemu-devel@nongnu.org; Mon, 29 Nov 2010 07:07:58 -0500 Date: Mon, 29 Nov 2010 14:07:52 +0200 From: Gleb Natapov Message-ID: <20101129120752.GA31881@redhat.com> References: <20101124011907.GA23305@morn.localdomain> <20101124100311.GB15111@redhat.com> <20101127154110.GA11197@morn.localdomain> <20101127162216.GA14385@redhat.com> <20101127164939.GA13605@morn.localdomain> <20101127170619.GB14385@redhat.com> <20101127174726.GA15238@morn.localdomain> <20101127181541.GC14385@redhat.com> <20101127184012.GA17455@morn.localdomain> <4CF37E31.3040700@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CF37E31.3040700@redhat.com> Subject: [Qemu-devel] Re: [PATCHv6 00/16] boot order specification List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Anthony Liguori , kvm@vger.kernel.org, mst@redhat.com, qemu-devel@nongnu.org, armbru@redhat.com, blauwirbel@gmail.com, alex.williamson@redhat.com, Kevin O'Connor On Mon, Nov 29, 2010 at 11:19:29AM +0100, Gerd Hoffmann wrote: > Hi, > > >>BTW are you actually aware of any option rom with multiple BCVs and, if > >>yes, how those BCVs differ? > > > >Multiple BCVs - yes. A SCSI card will define a BCV for each attached > >drive. I don't have a scsi card myself, but the support was added by > >a user who ran into the problem first hand. > > FYI: You can test with a virtual card ;) > > lsi emulation in recent qemu versions is good enougth that the > original boot rom runs. You can fetch it here: > > http://www.lsi.com/DistributionSystem/AssetDocument/files/support/ssp/sdms/Bios/lsi_bios.zip > > qemu -drive if=scsi,file=$image -option-rom 8xx_64.rom > > Gives you a list like this ... > > Press F12 for boot menu. > > Select boot device: > > 1. AHCI/0: QEMU HARDDISK ATA-7 Hard-Disk (8192 MiBytes) > 2. #20 ID00 LUN0 QEMU QEMU HARD > 3. #20 ID01 LUN0 QEMU QEMU HARD > 4. DVD/CD [ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD] > 5. DVD/CD [AHCI/2: QEMU DVD-ROM ATAPI-4 DVD/CD] > 6. gPXE (PCI 00:03.0) > > ... where entries 2+3 are created by the scsi rom. > Thanks! If BCVs created by optionrom are always sorted by target we can even determine what BCV correspond to which device path. -- Gleb.