diff options
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r-- | arch/x86/kvm/svm.c | 6 |
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 | ||
1915 | static int svm_get_mt_mask_shift(void) | ||
1916 | { | ||
1917 | return 0; | ||
1918 | } | ||
1919 | |||
1915 | static struct kvm_x86_ops svm_x86_ops = { | 1920 | static 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 | ||
1972 | static int __init svm_init(void) | 1978 | static int __init svm_init(void) |