From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkBFP-0005Tr-4A for qemu-devel@nongnu.org; Mon, 09 Jan 2012 04:10:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkBFK-0001rP-3P for qemu-devel@nongnu.org; Mon, 09 Jan 2012 04:10:31 -0500 Received: from mx1.redhat.com ([209.132.183.28]:6641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkBFJ-0001rB-Sg for qemu-devel@nongnu.org; Mon, 09 Jan 2012 04:10:26 -0500 Message-ID: <4F0AAEF6.7010404@redhat.com> Date: Mon, 09 Jan 2012 10:10:14 +0100 From: Gerd Hoffmann MIME-Version: 1.0 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> In-Reply-To: <20120107015302.GA10181@morn.localdomain> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 , qemu-devel@nongnu.org, Gleb Natapov Hi, > 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. The lsi rom (8xx_64.rom) seems to prioritize cdroms. Maybe that is something configurable in the option rom setup. When a cdrom drive with a bootable cd inserted is present the boot looks like this: ======================================================================= SeaBIOS (version 0.6.1.2-20120105_124702-rincewind.home.kraxel.org) iPXE v1.0.0-591-g7aee315 iPXE (http://ipxe.org) 00:03.0 CB00 PCI2.10 PnP PMM+1FFD9190+1FF99190 CB00 LSI Logic Corp. Symbios SDMS (TM) V4.0 PCI SCSI BIOS, PCI Rev. 2.0, 2.1 Copyright 1995-2001 LSI Logic Corp. PCI-4.19.00 HBA ID LUN VENDOR PRODUCT REV SYNC WIDE CYL/ HD/SEC --- -- --- -------- ---------------- ---- ----- ---- ------------ 0 0 0 QEMU QEMU HARDDISK 1.0. NO 8 1024/255/63 0 1 0 QEMU QEMU HARDDISK 1.0. NO 8 1008/ 33/63 0 4 0 QEMU QEMU CD-ROM 1.0. NO 8 0 7 0 LSILogic 53C895A 0000 10.0 8 LSI Logic Corp. PCI boot ROM successfully installed! Press F12 for boot menu. Select boot device: 1. #28 ID04 LUN0 QEMU QEMU CD-ROM 2. USB Drive USB Flash Disk 2.00 3. iPXE (PCI 00:03.0) ======================================================================= whereas without bootable cd (drive still present but no disk inserted) the boot menu looks like this: ======================================================================= Select boot device: 1. #28 ID00 LUN0 QEMU QEMU HARDDISK 2. USB Drive USB Flash Disk 2.00 3. iPXE (PCI 00:03.0) 4. #28 ID01 LUN0 QEMU QEMU HARDDISK ======================================================================= cheers, Gerd