From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NpIa6-0006Sc-N4 for qemu-devel@nongnu.org; Wed, 10 Mar 2010 04:51:58 -0500 Received: from [199.232.76.173] (port=60701 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NpIa5-0006Rl-Sm for qemu-devel@nongnu.org; Wed, 10 Mar 2010 04:51:57 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NpIa4-0000oL-31 for qemu-devel@nongnu.org; Wed, 10 Mar 2010 04:51:57 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35626) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NpIa3-0000o5-Jv for qemu-devel@nongnu.org; Wed, 10 Mar 2010 04:51:55 -0500 Date: Wed, 10 Mar 2010 09:51:41 +0000 From: "Richard W.M. Jones" Subject: Re: [Qemu-devel] Re: Need a way disable gPXE boot Message-ID: <20100310095141.GA2710@amd.home.annexia.org> References: <20100309141120.GA21444@amd.home.annexia.org> <20100310020341.GA29054@morn.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100310020341.GA29054@morn.localdomain> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin O'Connor Cc: kvm-devel@lists.sourceforge.net, seabios@seabios.org, Theodore Ts'o , qemu-devel@nongnu.org, Sebastian Herbszt On Tue, Mar 09, 2010 at 09:03:41PM -0500, Kevin O'Connor wrote: > On Tue, Mar 09, 2010 at 02:11:20PM +0000, Richard W.M. Jones wrote: > > I noticed also with libguestfs that boot times have spiralled out of > > control again, and it seems to be down to the SeaBIOS change. SeaBIOS > > accounts for _9_ seconds of the boot sequence, up from very small > > (fraction of a second) for the old Bochs BIOS[1]. > > I'm surprised - a significant amount of effort has gone into making > SeaBIOS boot quickly. On my machine, the OS starts loading in well > under a second. By a process of elimination, last night I worked out that the change is down to the following option ROMs: gPXE (not sure which exactly): 5 seconds pxe-virtio.bin: 4 seconds I can't find the source for the latter, but it seems neither is part of SeaBIOS, but are added from other sources by the Fedora build of qemu. I built a custom version of SeaBIOS [nicely documented code BTW, once I'd read the README file it was very simple to understand and customize!] which booted in under a second. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://et.redhat.com/~rjones/libguestfs/ See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html