KVM: x86/mmu: change CPU-role accessor fields to take struct kvm_pagewalk

With this change, walk_addr_generic and its callees do not need to use
container_of() anymore.  There are only two remaining occurrences of
container_of, in permission_fault() and kvm_mmu_refresh_passthrough_bits().

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2026-04-05 08:33:38 +02:00
commit 173777d428
2 changed files with 27 additions and 28 deletions