]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Drop redundant rsvd bits reset for nested NPT
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 17:57:36 +0000 (10:57 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 22:00:47 +0000 (18:00 -0400)
commita36ab51335fe69b49e086015838c13adc89bb617
tree226adbffe03eee3d46c47e366f2d27b8b91b767e
parentb8c6aab66c3af1c7fa13ea5f3c05cb894fdb5c4b
KVM: x86/mmu: Drop redundant rsvd bits reset for nested NPT

Drop the extra reset of shadow_zero_bits in the nested NPT flow now
that shadow_mmu_init_context computes the correct level for nested NPT.

No functional change intended.

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