From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahujT-0003Uw-84 for qemu-devel@nongnu.org; Mon, 21 Mar 2016 03:58:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahujQ-0004EY-2c for qemu-devel@nongnu.org; Mon, 21 Mar 2016 03:58:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33793) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahujP-0004EI-T6 for qemu-devel@nongnu.org; Mon, 21 Mar 2016 03:58:31 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id F0DDB486D0 for ; Mon, 21 Mar 2016 07:58:30 +0000 (UTC) Message-ID: <1458547107.4299.7.camel@redhat.com> From: Gerd Hoffmann Date: Mon, 21 Mar 2016 08:58:27 +0100 In-Reply-To: <20160319203124.GB19398@redhat.com> References: <20160319203124.GB19398@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Subject: Re: [Qemu-devel] Why is SeaBIOS used with -kernel? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Richard W.M. Jones" Cc: Marc =?ISO-8859-1?Q?Mar=ED?= , qemu-devel@nongnu.org On Sa, 2016-03-19 at 20:31 +0000, Richard W.M. Jones wrote: > I've been analyzing the libguestfs appliance[1] boot time. See > attached file, especially the end of it. >=20 > About 50% of the boot time is because of SeaBIOS. And the bulk of that is loading the kernel from fw_cfg. > I'm using the qemu -kernel option. I understand that the kernel needs > some BIOS features, eg. video stuff, E820. But kvmtool comes with a > really minimal BIOS that implements a tiny number of calls[2] and is > far faster than SeaBIOS. >=20 > Is there something I'm missing, or for Linux + -kernel could we use a > much simpler BIOS? marc (cc'ed) worked on porting the linuxboot option rom over to use the new fwcfg dma interface, which should make things a order of magnitude faster. That seems to be stalled though. Marc? cheers, Gerd