summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2020-02-25 04:05:15 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-03-16 17:59:00 +0100
commit0b66465344a7177411adb277e8ec33d9c5616b90 (patch)
treec8bbb16017170590afa9cb52a05255bb5ba62381 /arch/x86/kvm/svm.c
parentKVM: X86: correct meaningless kvm_apicv_activated() check (diff)
downloadlinux-0b66465344a7177411adb277e8ec33d9c5616b90.tar.xz
linux-0b66465344a7177411adb277e8ec33d9c5616b90.zip
KVM: nSVM: Remove an obsolete comment.
The function does not return bool anymore. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
-rw-r--r--arch/x86/kvm/svm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 7c9ddd680f22..08568ae9f7a1 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -3284,9 +3284,6 @@ static int nested_svm_exit_special(struct vcpu_svm *svm)
return NESTED_EXIT_CONTINUE;
}
-/*
- * If this function returns true, this #vmexit was already handled
- */
static int nested_svm_intercept(struct vcpu_svm *svm)
{
u32 exit_code = svm->vmcb->control.exit_code;