From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alw96-0001zf-8A for qemu-devel@nongnu.org; Fri, 01 Apr 2016 06:17:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alw92-0005FS-85 for qemu-devel@nongnu.org; Fri, 01 Apr 2016 06:17:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alw92-0005FO-39 for qemu-devel@nongnu.org; Fri, 01 Apr 2016 06:17:36 -0400 Date: Fri, 1 Apr 2016 11:17:33 +0100 From: "Richard W.M. Jones" Message-ID: <20160401101733.GI32728@redhat.com> References: <20160331162222.GA17533@morn.lan> <20160331221039.GA32728@redhat.com> <20160331221730.GA5637@redhat.com> <20160331224432.GA4583@morn.lan> <20160401080222.GC32728@redhat.com> <56FE2D42.5020607@redhat.com> <20160401081417.GD32728@redhat.com> <56FE3045.2030003@redhat.com> <20160401084456.GF32728@redhat.com> <1459502310.7011.37.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1459502310.7011.37.camel@redhat.com> Subject: Re: [Qemu-devel] Why is SeaBIOS used with -kernel? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: marc.mari.barcelo@gmail.com, Paolo Bonzini , Kevin O'Connor , qemu-devel@nongnu.org, Stefan Hajnoczi On Fri, Apr 01, 2016 at 11:18:30AM +0200, Gerd Hoffmann wrote: > Hi, > > > I wonder how we can make use of this in qemu and downstream distros? > > Can we have a bios-min.bin which is used with -kernel boots? > > We already build two seabios roms: one full featued and one slightly > stripped down to keep it below 128k, for backward compatibility with old > machine types. > > Adding a third config for -kernel boot should be easy. For that use > case we can probably also turn on seabios logging to the serial console > and drop sgabios. We don't need input (no boot menu) and we also don't > need to hook into int10 (no grub/ipxe using that for output). SeaBIOS logging is slow (or more likely, serial output is slow). And sgabios is useful for debugging. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW