KVM: SVM: Remove check if APICv enabled in SVM update_cr8_intercept() handler
authorLiran Alon <liran.alon@oracle.com>
Mon, 11 Nov 2019 12:26:21 +0000 (14:26 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 15 Nov 2019 10:44:04 +0000 (11:44 +0100)
commit49d654d85f857d9ca34fe2b4ac6d6cf34677e6c1
tree4801c5e3855c2ea0f029bba46729b016138aa725
parent1a686237d94b8a4bab9ce16ffd3e2208370d7695
KVM: SVM: Remove check if APICv enabled in SVM update_cr8_intercept() handler

This check is unnecessary as x86 update_cr8_intercept() which calls
this VMX/SVM specific callback already performs this check.

Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: Liran Alon <liran.alon@oracle.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c