KVM: SVM: Implement infrastructure for TSC_RATE_MSR
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 25 Mar 2011 08:44:46 +0000 (09:44 +0100)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:57:04 +0000 (07:57 -0400)
commitfbc0db76b77125e0a5131fb886cbaafa1ec5c525
treec2ef78bd0f5c9f1909fa611c73a367628dd3d0d0
parentbfeed29d6d3ebd5f31253d2c067e4e6c4aeb376b
KVM: SVM: Implement infrastructure for TSC_RATE_MSR

This patch enhances the kvm_amd module with functions to
support the TSC_RATE_MSR which can be used to set a given
tsc frequency for the guest vcpu.

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