From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=59634 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OldSq-0000GF-Ve for qemu-devel@nongnu.org; Wed, 18 Aug 2010 03:53:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OldSp-0000SO-JQ for qemu-devel@nongnu.org; Wed, 18 Aug 2010 03:53:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38426) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OldSp-0000Ry-CJ for qemu-devel@nongnu.org; Wed, 18 Aug 2010 03:53:35 -0400 Date: Wed, 18 Aug 2010 10:53:30 +0300 From: Gleb Natapov Subject: Re: [Qemu-devel] [PATCH - V2] Port codes from qemu-kvm to support booting from SCSI disk image Message-ID: <20100818075330.GY10499@redhat.com> References: <4C6AB7F6.3040909@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C6AB7F6.3040909@gmail.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Haishan Bai Cc: qemu-devel@nongnu.org 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. -- Gleb.