From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=32984 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmRrk-00038h-3t for qemu-devel@nongnu.org; Fri, 20 Aug 2010 09:42:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OmRri-0003oW-Be for qemu-devel@nongnu.org; Fri, 20 Aug 2010 09:42:39 -0400 Received: from mail-gw0-f45.google.com ([74.125.83.45]:40334) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmRri-0003oD-94 for qemu-devel@nongnu.org; Fri, 20 Aug 2010 09:42:38 -0400 Received: by gwb11 with SMTP id 11so1330609gwb.4 for ; Fri, 20 Aug 2010 06:42:36 -0700 (PDT) Message-ID: <4C6E8647.9090509@codemonkey.ws> Date: Fri, 20 Aug 2010 08:42:31 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH - V3] Port codes from qemu-kvm to support booting from SCSI disk image References: <201008181608.55759.paul@codesourcery.com> <632E0D52-7618-4184-990D-2918E51A61BC@suse.de> <4C6E327B.4060505@redhat.com> In-Reply-To: <4C6E327B.4060505@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org, Alexander Graf , Hai Shan Bai , Paul Brook On 08/20/2010 02:44 AM, Gerd Hoffmann wrote: > On 08/18/10 17:16, Alexander Graf wrote: >> >>> This has been discussed several times before. The proper solution >>> is to teach the bios how to boot off SCSI devices. IIRC support for >>> virtio devices already exists, implementing support for the SCSI >>> controller shouldn't be that much harder. >> >> 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... > > There already is one. Needs qemu 0.12.4 or newer. Unfortunaly it > isn't redistributable, so we can't easily integrate it. Thus seabios > support or a free option rom would still be nice to have. > > Fetch > http://www.lsi.com/DistributionSystem/AssetDocument/files/support/ssp/sdms/Bios/lsi_bios.zip > -> unzip -> boot with "-option-rom 8xx_64.rom" Maybe we could switch PCIDevice to default romfile to try to .rom if none is specified. Since qdev names are unique, this should work well. That way, users could "install" the lsi rom if they really wanted to SCSI boot until someone writes proper SCSI boot support. Regards, Anthony Liguori > cheers, > Gerd > >