]> 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)
commit3da70109bef97ada6be8d9263eb7ab6e9a918016
tree39bb576e536d5d3a1194118935c87b5257b04369
parent2578c5b2a80d7c195652d265f59e9a7a974d4662
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