]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Move nested NPT reserved bit calculation into MMU proper
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 17:57:03 +0000 (10:57 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 22:00:39 +0000 (18:00 -0400)
commit9304df7f16440b9e288d420a10df3e23bf97a983
tree748a863502a3eaa0ef5a6d306a33cedf2d9c89e2
parent501945a0e6093edb5b527daee5188e8abb36c1e9
KVM: x86/mmu: Move nested NPT reserved bit calculation into MMU proper

Move nested NPT's invocation of reset_shadow_zero_bits_mask() into the
MMU proper and unexport said function.  Aside from dropping an export,
this is a baby step toward eliminating the call entirely by fixing the
shadow_root_level confusion.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210622175739.3610207-19-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.h
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/svm/nested.c