]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: svm: remove unneeded nested_enable_evmcs() hook
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 28 Aug 2019 07:59:04 +0000 (09:59 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 24 Sep 2019 11:37:16 +0000 (13:37 +0200)
commit8be6e97b988265f2500c97d6da4198cda99dd4da
tree83cd0891d102fa92b26f867c23dd10b508de2c23
parent01c8cb65e2ea1e7bb7e6bb7e4d36852814295205
KVM: x86: svm: remove unneeded nested_enable_evmcs() hook

Since commit de7b51044ea5e ("KVM: x86: nVMX: Allow nested_enable_evmcs to
be NULL") the code in x86.c is prepared to see nested_enable_evmcs being
NULL and in VMX case it actually is when nesting is disabled. Remove the
unneeded stub from SVM code.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c