mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
a732e1baa8
commit
b862d1fe42
2 changed files with 14 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue