KVM: x86/mmu: parameterize update_permission_bitmask()

Make it possible to apply the computation loop to both guest
and shadow PTEs formats; the latter do not have an extended role, so
pass the four parameters to the function one by one.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2026-03-12 17:42:48 -04:00
commit 6bb13c2eb7