KVM: x86/mmu: Pass address space ID to TDP MMU root walkers
authorSean Christopherson <seanjc@google.com>
Fri, 26 Mar 2021 02:19:45 +0000 (19:19 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 17 Apr 2021 12:30:55 +0000 (08:30 -0400)
commita3f15bda46e85c33e55b23aa51dd542453f134e3
treedbee0bf8a1e712e19c7e07ba1246cee612c8845a
parent2b9663d8a19d0a3efd29fd4f5f3e2c4ea88982c7
KVM: x86/mmu: Pass address space ID to TDP MMU root walkers

Move the address space ID check that is performed when iterating over
roots into the macro helpers to consolidate code.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210326021957.1424875-7-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu_internal.h
arch/x86/kvm/mmu/tdp_mmu.c