]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Unconditionally call x86 ops that are always implemented
authorSean Christopherson <sean.j.christopherson@intel.com>
Fri, 2 Aug 2019 22:06:17 +0000 (15:06 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 22 Aug 2019 08:09:25 +0000 (10:09 +0200)
commit5ef0530d66de5f97487b70cb9ae3138904706a2a
tree8614d4698e9400b5d79942c7d68c2d6ea0fdf569
parent4056b381524fe40ea557f83c2263182a3daf37a6
KVM: x86: Unconditionally call x86 ops that are always implemented

Remove a few stale checks for non-NULL ops now that the ops in question
are implemented by both VMX and SVM.

Note, this is **not** stable material, the Fixes tags are there purely
to show when a particular op was first supported by both VMX and SVM.

Fixes: 1562b96f86af ("kvm/svm: Setup MCG_CAP on AMD properly")
Fixes: 2424f5118fc5 ("KVM: X86: Provide a capability to disable PAUSE intercepts")
Fixes: 8670052777a8 ("svm: Implements update_pi_irte hook to setup posted interrupt")
Cc: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c