From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomasz Chmielewski Subject: Re: Houston, we have May 15, 1953 (says guest when host uses cpufreq, and dies) Date: Thu, 19 Feb 2009 15:43:07 +0100 Message-ID: <499D6FFB.7020905@wpkg.org> References: <499C206A.5050109@wpkg.org> <20090218184611.GG25719@amt.cnet> <499C5917.4010700@wpkg.org> <20090218185734.GA26408@amt.cnet> <499C5C84.7010203@wpkg.org> <20090218191025.GB26408@amt.cnet> <499C5F1A.50206@wpkg.org> <20090218193200.GA26654@amt.cnet> <499C6957.6030908@wpkg.org> <20090218200359.GA26940@amt.cnet> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, Glauber de Oliveira Costa To: Marcelo Tosatti Return-path: Received: from mx03.syneticon.net ([78.111.66.105]:45653 "EHLO mx03.syneticon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751264AbZBSOm5 (ORCPT ); Thu, 19 Feb 2009 09:42:57 -0500 In-Reply-To: <20090218200359.GA26940@amt.cnet> Sender: kvm-owner@vger.kernel.org List-ID: Marcelo Tosatti schrieb: > On Wed, Feb 18, 2009 at 09:02:31PM +0100, Tomasz Chmielewski wrote: >> Marcelo Tosatti schrieb: >>> On Wed, Feb 18, 2009 at 08:18:50PM +0100, Tomasz Chmielewski wrote: >>>> Marcelo Tosatti schrieb: >>>> >>>>>> - what CPU frequency will the guests show? Current host >>>>>> frequency? Host frequency from the moment the guest booted (i.e. >>>>>> right now the guest will show 1GHz even if the host is running >>>>>> at 2GHz, or the way around)? >>>>> Host frequency from the moment the guest booted, since the guest does >>>>> not receive frequency change notifications. >>>> Is it possible (or is it planned) to pass frequency to the guest (the >>>> one which is displayed in /proc/cpuinfo)? >>> Possible, not planned AFAIK. >> Possible, right now? How? > > Write a paravirt notification scheme. That's a bit low level. I was thinking of a parameter to kvm (binary) which would pass the value to the guest. -- Tomasz Chmielewski http://wpkg.org