On Thu, Jul 07, 2011 at 04:13:12PM +0200, Joerg Roedel wrote:
> To let the user configure the desired tsc frequency for the
> guest if running in KVM.
>
> Signed-off-by: Joerg Roedel<address@hidden>
> ---
> target-i386/cpu.h | 1 +
> target-i386/cpuid.c | 13 +++++++++++++
> 2 files changed, 14 insertions(+), 0 deletions(-)
>
> diff --git a/target-i386/cpu.h b/target-i386/cpu.h
> index cdf68ff..399e124 100644
> --- a/target-i386/cpu.h
> +++ b/target-i386/cpu.h
> @@ -743,6 +743,7 @@ typedef struct CPUX86State {
> uint32_t cpuid_kvm_features;
> uint32_t cpuid_svm_features;
> bool tsc_valid;
> + int tsc_khz;
This should be saved/restore in migration data (missing VMSTATE entry).