From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYa44-0002bQ-9u for qemu-devel@nongnu.org; Thu, 28 Aug 2008 01:29:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYa43-0002at-9U for qemu-devel@nongnu.org; Thu, 28 Aug 2008 01:28:59 -0400 Received: from [199.232.76.173] (port=52177 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYa42-0002an-Qf for qemu-devel@nongnu.org; Thu, 28 Aug 2008 01:28:58 -0400 Received: from il.qumranet.com ([212.179.150.194]:51432) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KYa42-00025X-JE for qemu-devel@nongnu.org; Thu, 28 Aug 2008 01:28:58 -0400 Received: from gleb-debian.qumranet.com (gleb-debian.qumranet.com.qumranet.com [172.16.15.143]) by il.qumranet.com (Postfix) with ESMTP id 86C21250310 for ; Thu, 28 Aug 2008 08:28:56 +0300 (IDT) Date: Thu, 28 Aug 2008 08:28:56 +0300 From: Gleb Natapov Subject: Re: [Qemu-devel] Re: Re: [PATCH v2 6/6] Pass cpu speed into SM BIOS. Message-ID: <20080828052856.GB9450@minantech.com> References: <20080826062343.GS6192@minantech.com> <065001c9089e$c73dc960$0201a8c0@zeug> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <065001c9089e$c73dc960$0201a8c0@zeug> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Thu, Aug 28, 2008 at 01:42:59AM +0200, Sebastian Herbszt wrote: > Gleb Natapov wrote: >>>>> This is the incorrect frequency for a QEMU guest. I'm not sure >>>>> why this is included. What does passing the frequency give us? >>>>> >>>> This is included for two reasons. First one is to demonstrate that >>>> proposed interface is extensible. Second is that Micrisoft SVVP >>>> test requires this info (and much more) to be set in SMBIOS >>>> tables. >>> >>> Can you elaborate a bit on the "and much more" part? Is this the stuff >>> described in "SMBIOS "Designed for Windows" Logo Requirements" at >>> http://www.microsoft.com/whdc/system/platform/firmware/SMBIOS.mspx ? >>> >> I think yes. There is Microsoft test suit that test SMBIOS >> implementation. Running it on bochs bios results in a couple of errors. > > Could you maybe post those errors on the bochs mailing list? > I'll have to rerun test. All I have now is fixes :) >> Some fields cannot be empty. Some bits should be set. Most things can be >> fixed without qemu help, but for CPU speed we need to ask qemu. > > What about computing the frequency in rombios? > There is a problem with this approach. What if the host is under heavy load when guest is started? Linux computes frequency on a startup and have the same problem. It was discussed recently on the KVM list. -- Gleb.