KVM: x86/mmu: Consolidate misc updates into shadow_mmu_init_context()
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 17:57:06 +0000 (10:57 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 22:00:40 +0000 (18:00 -0400)
commitaf098972295aab280b362090aef964d4eb89f63f
treefde355c1178a437bb1dc012e51d962afc7edce91
parent594e91a100ccab334675c4fc9145e6ef3c788449
KVM: x86/mmu: Consolidate misc updates into shadow_mmu_init_context()

Consolidate the MMU metadata update calls to deduplicate code, and to
prep for future cleanup.

No functional change intended.

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