diff options
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r-- | arch/x86/kvm/svm.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index f75af406b268..baead950d6c8 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c | |||
@@ -3185,8 +3185,8 @@ static int svm_set_msr(struct kvm_vcpu *vcpu, unsigned ecx, u64 data) | |||
3185 | break; | 3185 | break; |
3186 | case MSR_IA32_DEBUGCTLMSR: | 3186 | case MSR_IA32_DEBUGCTLMSR: |
3187 | if (!boot_cpu_has(X86_FEATURE_LBRV)) { | 3187 | if (!boot_cpu_has(X86_FEATURE_LBRV)) { |
3188 | pr_unimpl(vcpu, "%s: MSR_IA32_DEBUGCTL 0x%llx, nop\n", | 3188 | vcpu_unimpl(vcpu, "%s: MSR_IA32_DEBUGCTL 0x%llx, nop\n", |
3189 | __func__, data); | 3189 | __func__, data); |
3190 | break; | 3190 | break; |
3191 | } | 3191 | } |
3192 | if (data & DEBUGCTL_RESERVED_BITS) | 3192 | if (data & DEBUGCTL_RESERVED_BITS) |
@@ -3205,7 +3205,7 @@ static int svm_set_msr(struct kvm_vcpu *vcpu, unsigned ecx, u64 data) | |||
3205 | case MSR_VM_CR: | 3205 | case MSR_VM_CR: |
3206 | return svm_set_vm_cr(vcpu, data); | 3206 | return svm_set_vm_cr(vcpu, data); |
3207 | case MSR_VM_IGNNE: | 3207 | case MSR_VM_IGNNE: |
3208 | pr_unimpl(vcpu, "unimplemented wrmsr: 0x%x data 0x%llx\n", ecx, data); | 3208 | vcpu_unimpl(vcpu, "unimplemented wrmsr: 0x%x data 0x%llx\n", ecx, data); |
3209 | break; | 3209 | break; |
3210 | default: | 3210 | default: |
3211 | return kvm_set_msr_common(vcpu, ecx, data); | 3211 | return kvm_set_msr_common(vcpu, ecx, data); |
@@ -4044,6 +4044,11 @@ static bool svm_rdtscp_supported(void) | |||
4044 | return false; | 4044 | return false; |
4045 | } | 4045 | } |
4046 | 4046 | ||
4047 | static bool svm_invpcid_supported(void) | ||
4048 | { | ||
4049 | return false; | ||
4050 | } | ||
4051 | |||
4047 | static bool svm_has_wbinvd_exit(void) | 4052 | static bool svm_has_wbinvd_exit(void) |
4048 | { | 4053 | { |
4049 | return true; | 4054 | return true; |
@@ -4312,6 +4317,7 @@ static struct kvm_x86_ops svm_x86_ops = { | |||
4312 | .cpuid_update = svm_cpuid_update, | 4317 | .cpuid_update = svm_cpuid_update, |
4313 | 4318 | ||
4314 | .rdtscp_supported = svm_rdtscp_supported, | 4319 | .rdtscp_supported = svm_rdtscp_supported, |
4320 | .invpcid_supported = svm_invpcid_supported, | ||
4315 | 4321 | ||
4316 | .set_supported_cpuid = svm_set_supported_cpuid, | 4322 | .set_supported_cpuid = svm_set_supported_cpuid, |
4317 | 4323 | ||