Re: [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu

Avi Kivity
2011-07-19T13:56:01Z

On 07/19/2011 04:54 PM, Avi Kivity wrote:
> On 07/19/2011 04:30 PM, Joerg Roedel wrote:
>> >
>> > (although we've been talking about starting a naked qemu and
>> pushing all
>> > of the configuration from the source).
>>
>> Hmm, I planned to do the VMSTATE thing in a follow-on patch-set. The
>> plan is to read the VCPU tsc_freq at guest start time on !tsc-scale
>> hosts and migrate it over so that the destination host can set the
>> tsc-freq if it supports tsc-scaling.
>
> This can be done by a management tool if desired.
>

Although, if we do this unconditionally (that is, also for tsc-scale
hosts) then we get stable tsc even without supplying a tsc frequency
argument... need to think about this.

--
error compiling committee.c: too many arguments to function