KVM: x86: Move get_cs_db_l_bits() helper to SVM
authorSean Christopherson <seanjc@google.com>
Fri, 28 Jan 2022 00:52:01 +0000 (00:52 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Feb 2022 18:47:21 +0000 (13:47 -0500)
commit872e0c5308d1b86fca3297c5415371320cb14fbe
tree9b66a061a301136b6e0e76c97cd34525e5cc56af
parent58fccda47e4bd8ecced8c317d13411e8d21b89b1
KVM: x86: Move get_cs_db_l_bits() helper to SVM

Move kvm_get_cs_db_l_bits() to SVM and rename it appropriately so that
its svm_x86_ops entry can be filled via kvm-x86-ops, and to eliminate a
superfluous export from KVM x86.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220128005208.4008533-16-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm/svm.c
arch/x86/kvm/x86.c