From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=41083 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OldeA-0005Wt-0v for qemu-devel@nongnu.org; Wed, 18 Aug 2010 04:05:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Olde5-000253-2M for qemu-devel@nongnu.org; Wed, 18 Aug 2010 04:05:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17480) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Olde4-00024x-RR for qemu-devel@nongnu.org; Wed, 18 Aug 2010 04:05:13 -0400 Date: Wed, 18 Aug 2010 11:05:09 +0300 From: Gleb Natapov Subject: Re: [Qemu-devel] [PATCH - V2] Port codes from qemu-kvm to support booting from SCSI disk image Message-ID: <20100818080509.GA26948@redhat.com> References: <4C6AB7F6.3040909@gmail.com> <20100818075330.GY10499@redhat.com> <4C6B9365.5030203@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C6B9365.5030203@gmail.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: haishan Cc: qemu-devel@nongnu.org On Wed, Aug 18, 2010 at 04:01:41PM +0800, haishan wrote: > Gleb Natapov wrote: > >On Wed, Aug 18, 2010 at 12:25:26AM +0800, Haishan Bai wrote: > >>There is code indentation errors in my previous post, I am sorry for > >>that, please review this post. > >> > >>The qemu-kvm could boot from SCSI disk image by utilizing seabios, > >>this patch ported codes > >>from qemu-kvm to let upstream qemu to support booting from SCSI disk image. > >> > >>Add 'boot=on' option to qemu command line like following, > >>qemu-system-x86_64 -drive file=scsi-disk.img,if=scsi,boot=on > >> > >> > >This horrible hack should die instead of been ported. It introduce more > >problems that it solves. You want to boot from scsi disk? Add seabios > >support for it. > > > > Yes, I added seabios support, but still can not boot from scsi disk, > because seabios seemed > to depend on extboot.bin, I will investigate seabios SCSI further > and try it. > Seabios has nothing to do with extboot.bin. Where is your patch to seabios? -- Gleb.