From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq9Vl-00051d-9f for qemu-devel@nongnu.org; Wed, 25 Jan 2012 15:32:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq9Vj-0005Zs-VK for qemu-devel@nongnu.org; Wed, 25 Jan 2012 15:32:05 -0500 Received: from chello084112167138.7.11.vie.surfer.at ([84.112.167.138]:57734 helo=wiesinger.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq9Vj-0005Zo-Ih for qemu-devel@nongnu.org; Wed, 25 Jan 2012 15:32:03 -0500 Date: Wed, 25 Jan 2012 21:30:57 +0100 (CET) From: Gerhard Wiesinger In-Reply-To: <20120108154747.GA32376@morn.localdomain> Message-ID: References: <20120105092037.GA31206@redhat.com> <20120106020539.GB25140@morn.localdomain> <20120106052725.GA3105@redhat.com> <20120107015302.GA10181@morn.localdomain> <20120107162844.GB8762@morn.localdomain> <20120108083105.GB2167@redhat.com> <20120108145853.GA31003@morn.localdomain> <20120108151745.GE2167@redhat.com> <20120108154747.GA32376@morn.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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: Gerd Hoffmann , Gleb Natapov , qemu-devel@nongnu.org On Sun, 8 Jan 2012, Kevin O'Connor wrote: > On Sun, Jan 08, 2012 at 05:17:45PM +0200, Gleb Natapov wrote: > No - the option rom will always be executed. The purpose of placing > it in the BCV list is to order its execution with respect to other > BCVs so that if the legacy option rom hooks int13 it will do so after > other drives have had a chance. > > Should a legacy rom do direct boot or hook int19 it will take priority > over everything else - irrespective of seabios priorities or what the > user selects in the boot menu. This lack of control is what spawned > the whole PNP rom stuff. > >> If >> boot_add_bcv() will unconditionally give HD boot priority to such bcv it >> will have higher priority than CD or pxe boot option, no? > > As above, the BCV priorities are only relevant when compared to the > priority of other BCVs. So, no - it should have no impact on CD/PXE. > > As I mentioned in my previous post, SeaBIOS does currently prioritizes > hard drive booting when the user selects "Legacy option rom" from the > boot menu - it's unclear if this is the right thing to do. > > To be honest, this wasn't all that clear to me yesterday - I had to > think on it a bit. This legacy boot stuff is crazy. Thanx for applying the patch/adding SCSI boot order feature to Seabios and supporting the LSI option ROM. (For the records: 88e745e11242bbe13fa4f22093029ccf04087472 and 1e15725c92858a0cb1dd5c76bd44af1fec09fee3) I think we have added even more compliance to QEMU/KVM and Seabios regarding option ROMs and SCSI boot order support. Sometimes lateral thinking is necessary to achieve good results :-) Ciao, Gerhard -- http://www.wiesinger.com/