diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2011-07-07 16:13:12 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2011-08-05 12:04:27 -0300 |
commit | b862d1fe42363e79368ed93584fb5938b75a5ffa (patch) | |
tree | e6bc7a0755f8080a9ad37e5dd674f553f38d6b34 /target-i386/cpu.h | |
parent | a732e1baa864d5b10c5cfd9e3e437563b771c1a8 (diff) | |
download | qemu-b862d1fe42363e79368ed93584fb5938b75a5ffa.tar.gz qemu-b862d1fe42363e79368ed93584fb5938b75a5ffa.tar.bz2 qemu-b862d1fe42363e79368ed93584fb5938b75a5ffa.zip |
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 <joerg.roedel@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'target-i386/cpu.h')
-rw-r--r-- | target-i386/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h index dd6c5fab3b..dcdd95f71d 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 */ |