]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: X86: Let kvm-clock report the right tsc frequency
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 25 Mar 2011 08:44:47 +0000 (09:44 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:57:04 +0000 (07:57 -0400)
commit3a1b82451d9007c32c2381f3f2eae37f4daf3850
tree39bb576e536d5d3a1194118935c87b5257b04369
parentfef4a0b17e019b04169e4b4c56e17d634842f8cd
KVM: X86: Let kvm-clock report the right tsc frequency

This patch changes the kvm_guest_time_update function to use
TSC frequency the guest actually has for updating its clock.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c