]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Move svm_hardware_setup() and its helpers below svm_x86_ops
authorSean Christopherson <seanjc@google.com>
Wed, 8 Dec 2021 01:52:32 +0000 (01:52 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 19 Jan 2022 17:14:48 +0000 (12:14 -0500)
commit450aa6515af27a829281ef19edd294013e984053
treedebd5ce93d3128564054003e4aa59ee51988a275
parentfd4fa667d0cebc3e4bcfe1e0676f35bce03e59db
KVM: SVM: Move svm_hardware_setup() and its helpers below svm_x86_ops

Move svm_hardware_setup() below svm_x86_ops so that KVM can modify ops
during setup, e.g. the vcpu_(un)blocking hooks can be nullified if AVIC
is disabled or unsupported.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20211208015236.1616697-23-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c