From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjo9o-00028w-DW for qemu-devel@nongnu.org; Sun, 08 Jan 2012 03:31:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rjo9n-0004DR-CX for qemu-devel@nongnu.org; Sun, 08 Jan 2012 03:31:12 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjo9n-0004DN-5u for qemu-devel@nongnu.org; Sun, 08 Jan 2012 03:31:11 -0500 Date: Sun, 8 Jan 2012 10:31:05 +0200 From: Gleb Natapov Message-ID: <20120108083105.GB2167@redhat.com> References: <4F055827.50202@redhat.com> <20120105083239.GR2072@redhat.com> <20120105092037.GA31206@redhat.com> <20120106020539.GB25140@morn.localdomain> <20120106052725.GA3105@redhat.com> <20120107015302.GA10181@morn.localdomain> <20120107162844.GB8762@morn.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120107162844.GB8762@morn.localdomain> Subject: Re: [Qemu-devel] Boot order problem and disable iPXE/gPXE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin O'Connor Cc: Gerhard Wiesinger , Gerd Hoffmann , qemu-devel@nongnu.org On Sat, Jan 07, 2012 at 11:28:44AM -0500, Kevin O'Connor wrote: > On Sat, Jan 07, 2012 at 10:00:56AM +0100, Gerhard Wiesinger wrote: > > On Fri, 6 Jan 2012, Kevin O'Connor wrote: > > >I'm not sure what a SCSI rom would do with a CD drive. My guess is > > >that it wouldn't map it to a BIOS visible drive id at all, as there's > > >no way to select an id with any assurance that it wont conflict with > > >one chosen by the BIOS or another rom. If QEMU can simulate this (and > > >someone knows the command-line to do such) it would be an interesting > > >test to see what the rom does. > > > > As far as I remember from SCSI only systems one can just boot from > > CD drives, too. Order is SCSI id (starting with SCSI id 0, up to 7, > > 15, etc. depending on host adapeter). > > > > Tried: > > -drive file=KNOPPIX_V6.2CD-2009-11-18-DE.iso,media=cdrom,if=scsi,bus=0,unit=0 > > all other drives are afterwards. > > > > Registers as CDROM, selecting Legacy Option ROM from boot menu, but > > can't boot: > > Screen: > > Booting from DVD/CD... > > This is SeaBIOS attempting to boot from its internal CD code which > wont work for SCSI. (The "Legacy Option ROM" seletion is probably the > KVM vapic.bin rom.) The question is, what will the 8xx_64.rom do with > a cdrom on a scsi adapter... > > I downloaded 8xx_64.rom and tried the above command line. > Interestingly, it will register a BEV for a CD drive - which confirms > my suspicion that it wont use a BCV. Also interesting is that if both > a harddrive and a CD are found, both a BEV and a BCV will be present - > SeaBIOS doesn't support this, but I don't see any reason it couldn't. > Cool! What about non pnp roms that also register bcv? Should we use HD priority for those too? -- Gleb.