From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pekka Enberg Subject: Re: [RFC/PATCH 1/2] kvm tools, seabios: Add "--bios" option to "vm run" Date: Fri, 24 Feb 2012 20:00:20 +0200 Message-ID: <1330106420.4738.2.camel@jaguar> References: <1330095930-1839-1-git-send-email-penberg@kernel.org> <4F47AB6F.6030708@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: Anthony Liguori , kvm@vger.kernel.org, Yang Bai , Matt Evans , John Floren , Sasha Levin , Cyrill Gorcunov , Asias He , Ingo Molnar To: ron minnich Return-path: Received: from filtteri5.pp.htv.fi ([213.243.153.188]:42008 "EHLO filtteri5.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753489Ab2BXSJz (ORCPT ); Fri, 24 Feb 2012 13:09:55 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Fri, 2012-02-24 at 08:27 -0800, ron minnich wrote: > I think you need to look at the change floren and I worked up, > assuming I can get him to release it to you. > > Our change is a bit less complex and adds fewer lines of code. You've > added an extra option to load a bios, and it will be somewhat limited > as those ever-demanding users continue to demand more and more :-) > > What we did instead is let users specify the load address of the > kernel, and the IP from which to start. So our command line ends up > with --kernel being a seabios image, and using switches to set the > load address at e0000 and the initial IP at ffff0. Of course, now that > I know the memory is "reflected" to high memory too, the initial IP > could just as easily be fffffff0. I went ahead and applied my patches. Feel free to extend it to support the kind of configuration options you need. I personally want a simple command line option that does everything for me automatically. Pekka