From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alwvo-0000TS-SU for qemu-devel@nongnu.org; Fri, 01 Apr 2016 07:08:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alwvl-00088r-M9 for qemu-devel@nongnu.org; Fri, 01 Apr 2016 07:08:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alwvl-00088g-GT for qemu-devel@nongnu.org; Fri, 01 Apr 2016 07:07:57 -0400 Message-ID: <1459508875.7011.62.camel@redhat.com> From: Gerd Hoffmann Date: Fri, 01 Apr 2016 13:07:55 +0200 In-Reply-To: <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> <20160401101733.GI32728@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.mari.barcelo@gmail.com, Paolo Bonzini , Kevin O'Connor , qemu-devel@nongnu.org, Stefan Hajnoczi On Fr, 2016-04-01 at 11:17 +0100, Richard W.M. Jones wrote: > On Fri, Apr 01, 2016 at 11:18:30AM +0200, Gerd Hoffmann wrote: > > Hi, > >=20 > > > 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? > >=20 > > We already build two seabios roms: one full featued and one slightly > > stripped down to keep it below 128k, for backward compatibility with ol= d > > machine types. > >=20 > > 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). >=20 > SeaBIOS logging is slow (or more likely, serial output is slow). > And sgabios is useful for debugging. Ah, I see. debuglevel=3D1 prints too much and debuglevel=3D0 has no loggin= g at all. We'd need seabios log at least the version banner to serial even with debuglevel=3D0 to replace sgabios. https://www.kraxel.org/cgit/qemu/log/?h=3Dwork/stripped-seabios Not hooked into -kernel yet, so you have to use "-bios bios-kboot.bin". Comments? cheers, Gerd