From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Harper Subject: Re: KVM not reporting dmidecode Date: Thu, 14 Feb 2008 10:35:08 -0600 Message-ID: <20080214163508.GJ6995@us.ibm.com> References: <20080213185201.GF6995@us.ibm.com> <47B40F6F.50501@qumranet.com> <20080214140224.GG6995@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Ryan Harper To: Avi Kivity , jieryn@gmail.com, kvm-devel@lists.sourceforge.net Return-path: Content-Disposition: inline In-Reply-To: <20080214140224.GG6995@us.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org * Ryan Harper [2008-02-14 08:02]: > * Avi Kivity [2008-02-14 04:28]: > > Ryan Harper wrote: > > >I posted[1] a dmi patches a bit ago on qemu-devel for this. There was a > > >better solution that involved fixing up the BIOS bits (bochs and qemu). > > >That patch is available as well on qemu-devel. I've not see any > > >indication of when either bochs or qemu will pick up the DMI changes. > > > > > > > > > > I guess I'll have to pick it up. But I prefer the BIOS version. Can > > you repost it? > > I prefer the BIOS method as well. If we pick up anything before QEMU > does, we should pull in that one. It looks like it was committed[1] to > BOCH cvs on Jan 21st. I'll pull the BIOS and test that it works with > QEMU cvs/KVM and see if we can get QEMU to pull in a new BIOS build and > the QEMU changes to support DMI. > > 1. http://bochs.cvs.sourceforge.net/bochs/bochs/bios/rombios32.c?revision=1.20&view=markup I just built bochs from cvs and dmidecode is working. I'm not sure what other testing is done before uploading a newer bochs BIOS in the kvm-userspace repo, but dmidecode display the proper number of cpus and memory as well as the BIOS release date needed for shutdown on some kernels with APCI BLACKLIST date set. No changes to QEMU are needed AFAICT. I'll test with QEMU cvs can confirm latest BOCHS and dmidecode are working there and request they pull in a new build of BOCHS. -- Ryan Harper Software Engineer; Linux Technology Center IBM Corp., Austin, Tx (512) 838-9253 T/L: 678-9253 ryanh@us.ibm.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/