From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sheng Yang Subject: Re: [PATCH] Update qemu-kvm to allow a larger BIOS image. Date: Thu, 23 Jul 2009 09:42:01 +0800 Message-ID: <200907230942.03064.sheng@linux.intel.com> References: <1247703135-27408-1-git-send-email-jordan.l.justen@intel.com> <2a50f7880907161057u58802061xc472e9b8c9ec4f1a@mail.gmail.com> <1248289473.12578.5.camel@hyperion> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Cc: Jordan Justen , kvm@vger.kernel.org, Jordan Justen , Marcelo Tosatti To: Cristi Magherusan Return-path: Received: from mga07.intel.com ([143.182.124.22]:47987 "EHLO azsmga101.ch.intel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750796AbZGWBmf (ORCPT ); Wed, 22 Jul 2009 21:42:35 -0400 In-Reply-To: <1248289473.12578.5.camel@hyperion> Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: On Thursday 23 July 2009 03:04:33 Cristi Magherusan wrote: > On Thu, 2009-07-16 at 10:57 -0700, Jordan Justen wrote: > > On Wed, Jul 15, 2009 at 10:37 PM, Sheng Yang wrote: > > > Make sense to me. So what's mattered here is not bios, but qemu-kvm and > > > kvm code. The user can replace bios binary by UEFI binary easily, but > > > not with kvm related part. > > > > > > I realized you still need separate the qemu-kvm patch into two: one for > > > bios and another for qemu. > > > > Okay, I will split this change apart. > > > > > And I just hope this modification won't break some old > > > OS(any OS got assumption about bios size? I think Tiano team should > > > have idea on it)... > > > > I don't think the OS should care about the bios size, but it is > > important to update the INT15-E820 memory ranges to help > > make sure the OS knows which regions are in use. > > > > Even without the E820 change, I think it would be unlikely > > for an OS to try utilize these memory regions, but it is > > definitely better to properly describe it. > > Hello, > > I don't know if I get this right, but is it enough to apply this patch > to KVM-userspace, or do I also need to have a patched kernel in order to > get large images (my image is 4MB) to work in KVM? > You need a patched KVM kernel modules for this. And you can use Jordan's patch currently(http://article.gmane.org/gmane.comp.emulators.kvm.devel/37344). The first one for BIOS(apply to qemu-kvm tree), second of qemu-kvm, and the third for KVM modules. -- regards Yang, Sheng