From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44440 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oldb3-0004Mb-Rz for qemu-devel@nongnu.org; Wed, 18 Aug 2010 04:02:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oldb2-0001b8-Od for qemu-devel@nongnu.org; Wed, 18 Aug 2010 04:02:05 -0400 Received: from mail.windriver.com ([147.11.1.11]:54388) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oldb2-0001ay-Fg for qemu-devel@nongnu.org; Wed, 18 Aug 2010 04:02:04 -0400 Message-ID: <4C6B9365.5030203@gmail.com> Date: Wed, 18 Aug 2010 16:01:41 +0800 From: haishan MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH - V2] Port codes from qemu-kvm to support booting from SCSI disk image References: <4C6AB7F6.3040909@gmail.com> <20100818075330.GY10499@redhat.com> In-Reply-To: <20100818075330.GY10499@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: Gleb Natapov Cc: qemu-devel@nongnu.org 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. Thanks Shan Hai > -- > Gleb. >