diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2026-04-05 07:18:02 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2026-06-25 10:42:54 +0200 |
| commit | d9af9341707f67ca92c35a1bb198eeb53b66e496 (patch) | |
| tree | 56c43718a570067061c4b2e28da7e2ea00afa9f0 /include/linux/stacktrace.h | |
| parent | ac889bdd23df1ee2d15bfae36510590669329ec8 (diff) | |
KVM: x86/mmu: move get_guest_pgd to struct kvm_pagewalk
Start moving page walking functionality out of kvm_mmu; the easiest
target is the callbacks.
Change the kvm_mmu_get_guest_pgd() wrapper to take a struct kvm_pagewalk
too, avoiding the MMU indirection (and associated container_of) whenever
the caller already has one. All container_of uses need to go before
nested_mmu can be changed to a struct kvm_pagewalk, signifying that it
is not used to build page tables.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions
