aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r--arch/x86/kvm/svm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 41777e6d9761..7f4e225feebf 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -2914,6 +2914,11 @@ static bool svm_gb_page_enable(void)
2914 return true; 2914 return true;
2915} 2915}
2916 2916
2917static bool svm_rdtscp_supported(void)
2918{
2919 return false;
2920}
2921
2917static struct kvm_x86_ops svm_x86_ops = { 2922static struct kvm_x86_ops svm_x86_ops = {
2918 .cpu_has_kvm_support = has_svm, 2923 .cpu_has_kvm_support = has_svm,
2919 .disabled_by_bios = is_disabled, 2924 .disabled_by_bios = is_disabled,
@@ -2982,6 +2987,8 @@ static struct kvm_x86_ops svm_x86_ops = {
2982 .gb_page_enable = svm_gb_page_enable, 2987 .gb_page_enable = svm_gb_page_enable,
2983 2988
2984 .cpuid_update = svm_cpuid_update, 2989 .cpuid_update = svm_cpuid_update,
2990
2991 .rdtscp_supported = svm_rdtscp_supported,
2985}; 2992};
2986 2993
2987static int __init svm_init(void) 2994static int __init svm_init(void)