Re: Houston, we have May 15, 1953 (says guest when host uses cpufreq, and dies)

Tomasz Chmielewski
2009-02-19T14:42:57Z

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.