From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: [RFC/PATCH 1/2] kvm tools, seabios: Add "--bios" option to "vm run" Date: Mon, 27 Feb 2012 13:15:11 +0200 Message-ID: <20120227111511.GA24600@redhat.com> References: <1330095930-1839-1-git-send-email-penberg@kernel.org> <4F47AB6F.6030708@us.ibm.com> <4F4B5EA9.5010208@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Pekka Enberg , John Floren , ron minnich , Anthony Liguori , kvm@vger.kernel.org, Yang Bai , Matt Evans , Sasha Levin , Cyrill Gorcunov , Asias He , Ingo Molnar To: Gerd Hoffmann Return-path: Received: from mx1.redhat.com ([209.132.183.28]:56614 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751596Ab2B0LPh (ORCPT ); Mon, 27 Feb 2012 06:15:37 -0500 Content-Disposition: inline In-Reply-To: <4F4B5EA9.5010208@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Feb 27, 2012 at 11:44:57AM +0100, Gerd Hoffmann wrote: > Hi, > > > So looking at SeaBIOS code, it seems to me we could simply make LKVM > > lie to it by claiming to be coreboot and get away with it, no? We'd > > basically avoid all the PCI allocation passes and such. > > I doubt this is going to fly if you want seabios boot from a > virtio-blk-pci device ... > AFAIK kvm-tool initialize PCI by itself so it actually may work (and, very likely, the best thing to do). -- Gleb.