From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JofE3-0006cK-JX for qemu-devel@nongnu.org; Wed, 23 Apr 2008 09:41:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JofE1-0006aW-77 for qemu-devel@nongnu.org; Wed, 23 Apr 2008 09:41:30 -0400 Received: from [199.232.76.173] (port=43460 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JofE0-0006aK-TV for qemu-devel@nongnu.org; Wed, 23 Apr 2008 09:41:28 -0400 Received: from wf-out-1314.google.com ([209.85.200.168]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JofE0-0006We-MN for qemu-devel@nongnu.org; Wed, 23 Apr 2008 09:41:28 -0400 Received: by wf-out-1314.google.com with SMTP id 28so1999003wff.4 for ; Wed, 23 Apr 2008 06:41:27 -0700 (PDT) Message-ID: <9cde8bff0804230641je5e4390uf910bf08e65cc797@mail.gmail.com> Date: Wed, 23 Apr 2008 22:41:27 +0900 From: "Nguyen Anh Quynh" In-Reply-To: <480DED1D.8080701@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9cde8bff0804202032k6bd44ac6td913c05410e6284@mail.gmail.com> <480DED1D.8080701@us.ibm.com> Subject: [Qemu-devel] Re: [RFC] linuxboot Option ROM for Linux kernel booting Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: kvm-devel@lists.sourceforge.net, qemu-devel@nongnu.org, Paul Brook On 4/22/08, Anthony Liguori wrote: > Nguyen Anh Quynh wrote: > > > Hi, > > > > This should be submitted to upstream (but not to kvm-devel list), but > > this is only the test code that I want to quickly send out for > > comments. In case it looks OK, I will send it to upstream later. > > > > Inspired by extboot and conversations with Anthony and HPA, this > > linuxboot option ROM is a simple option ROM that intercepts int19 in > > order to execute linux setup code. This approach eliminates the need > > to manipulate the boot sector for this purpose. > > > > To test it, just load linux kernel with your KVM/QEMU image using > > -kernel option in normal way. > > > > I succesfully compiled and tested it with kvm-66 on Ubuntu 7.10, guest > > Ubuntu 8.04. > > > > > > For the next rounds, could you actually rebase against upstream QEMU and > submit to qemu-devel? One of Paul Brook's objections to extboot had > historically been that it wasn't not easily sharable with other > architectures. With a C version, it seems more reasonable now to do that. OK. > > Make sure you remove all the old linux boot code too within QEMU along with > the -hda checks. Sure. Thanks, Q