From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aluDm-00029Y-Ja for qemu-devel@nongnu.org; Fri, 01 Apr 2016 04:14:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aluDj-0001am-Cc for qemu-devel@nongnu.org; Fri, 01 Apr 2016 04:14:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aluDj-0001aa-7D for qemu-devel@nongnu.org; Fri, 01 Apr 2016 04:14:19 -0400 Date: Fri, 1 Apr 2016 09:14:17 +0100 From: "Richard W.M. Jones" Message-ID: <20160401081417.GD32728@redhat.com> References: <20160319203124.GB19398@redhat.com> <20160331092125.GH32185@stefanha-x1.localdomain> <20160331162222.GA17533@morn.lan> <20160331221039.GA32728@redhat.com> <20160331221730.GA5637@redhat.com> <20160331224432.GA4583@morn.lan> <20160401080222.GC32728@redhat.com> <56FE2D42.5020607@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56FE2D42.5020607@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: Paolo Bonzini Cc: marc.mari.barcelo@gmail.com, Stefan Hajnoczi , Kevin O'Connor , qemu-devel@nongnu.org On Fri, Apr 01, 2016 at 10:11:46AM +0200, Paolo Bonzini wrote: > > > On 01/04/2016 10:02, Richard W.M. Jones wrote: > >> > echo -e 'CONFIG_USB=n\nCONFIG_DRIVES=n\nCONFIG_KEYBOARD=n\nCONFIG_MOUSE=n\nCONFIG_WRITABLE_UPPERMEMORY=y\nCONFIG_TCGBIOS=n\nCONFIG_PIRTABLE=n\nCONFIG_MPTABLE=n\nCONFIG_SMBIOS=n\nCONFIG_ACPI=n\nCONFIG_DEBUG_LEVEL=0' > .config > >> > make olddefconfig > >> > make > >> > > >> > What time do you get with the above stripped down seabios (the > >> > generated bios is in out/bios.bin)? > > It's a bit unexpected: The kernel (not SeaBIOS) crashes or hangs > > during virtio-scsi sensing. See attached. Any idea what I need to > > enable? > > At least ACPI (I would also add mptable and SMBIOS). Found it: only CONFIG_MPTABLE=y was necessary. It boots with: # CONFIG_PIRTABLE is not set CONFIG_MPTABLE=y # CONFIG_SMBIOS is not set # CONFIG_ACPI is not set Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html