diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2026-05-10 18:39:18 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2026-06-25 10:41:48 +0200 |
| commit | ac889bdd23df1ee2d15bfae36510590669329ec8 (patch) | |
| tree | 865d4353dc3ea5313952f5d74f2b2a08d3681645 /include/linux/errqueue.h | |
| parent | 9a82ec076e74fc48698e71948c339d7eeafa26e2 (diff) | |
KVM: x86/mmu: introduce struct kvm_pagewalk
In preparation for separating walking and building of page tables,
introduce a dummy struct kvm_pagewalk and pass it around instead of
its containing kvm_mmu to functions that do not build the page tables.
Outermost functions retrieve the mmu via container_of, while internal
functions can pass around the struct kvm_pagewalk pointer.
x86.c is still mostly oblivious to the existence of struct kvm_pagewalk,
with are only a couple exceptions for now, but the plan is for it to
use struct kvm_pagewalk whenever dealing with guest page tables and have
only limited knowledge of struct kvm_mmu.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
