From b862d1fe42363e79368ed93584fb5938b75a5ffa Mon Sep 17 00:00:00 2001 From: Joerg Roedel Date: Thu, 7 Jul 2011 16:13:12 +0200 Subject: qemu-x86: Add tsc_freq option to -cpu To let the user configure the desired tsc frequency for the guest if running in KVM. Signed-off-by: Joerg Roedel Signed-off-by: Marcelo Tosatti --- target-i386/cpu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'target-i386/cpu.h') diff --git a/target-i386/cpu.h b/target-i386/cpu.h index dd6c5fa..dcdd95f 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; /* in order to simplify APIC support, we leave this pointer to the user */ -- cgit v1.1