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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 9c4ce657d963..05efc4ef75a6 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -1912,6 +1912,11 @@ static int get_npt_level(void)
1912#endif 1912#endif
1913} 1913}
1914 1914
1915static int svm_get_mt_mask_shift(void)
1916{
1917 return 0;
1918}
1919
1915static struct kvm_x86_ops svm_x86_ops = { 1920static struct kvm_x86_ops svm_x86_ops = {
1916 .cpu_has_kvm_support = has_svm, 1921 .cpu_has_kvm_support = has_svm,
1917 .disabled_by_bios = is_disabled, 1922 .disabled_by_bios = is_disabled,
@@ -1967,6 +1972,7 @@ static struct kvm_x86_ops svm_x86_ops = {
1967 1972
1968 .set_tss_addr = svm_set_tss_addr, 1973 .set_tss_addr = svm_set_tss_addr,
1969 .get_tdp_level = get_npt_level, 1974 .get_tdp_level = get_npt_level,
1975 .get_mt_mask_shift = svm_get_mt_mask_shift,
1970}; 1976};
1971 1977
1972static int __init svm_init(void) 1978static int __init svm_init(void)