summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2011-03-25 09:44:48 +0100
committerAvi Kivity <avi@redhat.com>2011-05-11 07:57:04 -0400
commit8f6055cbaf68cbd9ff2692a2cfa691b43629ccd4 (patch)
treee178845f4d0f061f90e57337f28be6640da8bd6d /arch/x86/kvm/svm.c
parent1e993611d0dc879fde25515dc9867d1cfd4c5137 (diff)
downloadblackbird-op-linux-8f6055cbaf68cbd9ff2692a2cfa691b43629ccd4.tar.gz
blackbird-op-linux-8f6055cbaf68cbd9ff2692a2cfa691b43629ccd4.zip
KVM: X86: Make tsc_delta calculation a function of guest tsc
The calculation of the tsc_delta value to ensure a forward-going tsc for the guest is a function of the host-tsc. This works as long as the guests tsc_khz is equal to the hosts tsc_khz. With tsc-scaling hardware support this is not longer true and the tsc_delta needs to be calculated using guest_tsc values. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud