OSDN Git Service

KVM: x86/mmu: Add helper to update paging metadata
authorSean Christopherson <seanjc@google.com>
Tue, 22 Jun 2021 17:57:28 +0000 (10:57 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Jun 2021 22:00:45 +0000 (18:00 -0400)
commit533f9a4b387bf79c722faf0a760a09129d9627f9
tree7a4d426d151d1c633a09fc1de4e1a50cc5698368
parentaf0eb17e99e5df76380404881e3e5042d582a6b3
KVM: x86/mmu: Add helper to update paging metadata

Consolidate MMU guest metadata updates into a common helper for TDP,
shadow, and nested MMUs.

No functional change intended.

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