From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=43931 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oll80-0000oq-EX for qemu-devel@nongnu.org; Wed, 18 Aug 2010 12:04:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oll7u-0001Tr-Ee for qemu-devel@nongnu.org; Wed, 18 Aug 2010 12:04:35 -0400 Received: from mail.codesourcery.com ([38.113.113.100]:43546) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oll7u-0001TO-6h for qemu-devel@nongnu.org; Wed, 18 Aug 2010 12:04:30 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH - V3] Port codes from qemu-kvm to support booting from SCSI disk image Date: Wed, 18 Aug 2010 17:04:26 +0100 References: <632E0D52-7618-4184-990D-2918E51A61BC@suse.de> <20100818153720.GG10499@redhat.com> In-Reply-To: <20100818153720.GG10499@redhat.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008181704.26706.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gleb Natapov Cc: Alexander Graf , Hai Shan Bai , qemu-devel@nongnu.org > > Couldn't we just have an option rom for the SCSI controller? The same way > > the VGABIOS is a rewrite of a VGA BIOS for the Cirrus Logic... > > Of course we could, but it should not be extboot, but proper scsi driver. > gpxe has src/drivers/block/scsi.c so may be it already supports qemu scsi > device? IIRC it only supports iSCSI. You'd need to add the LSI HBA driver and possibly parallel SCSI transport bits. In practice I'd imagine the SCSI parts to be pretty straightforward. A bios driver can ignore most of the fancy bits (e.g. TCQ) that a full featured OS driver has to worry about. Paul