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)
commit92735b1b3313c97d24b54492a21083c75206e6ed
tree8614d4698e9400b5d79942c7d68c2d6ea0fdf569
parent26c44a63a291893e0a00f01e96b6e1d0310a79a9
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: 74f169090b6f ("kvm/svm: Setup MCG_CAP on AMD properly")
Fixes: b31c114b82b2 ("KVM: X86: Provide a capability to disable PAUSE intercepts")
Fixes: 411b44ba80ab ("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