Skip to content
Commit e4cd1da9 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: x86: pass struct kvm_mmu_page to gfn_to_rmap



This is always available (with one exception in the auditing code),
and with the same auditing exception the level was coming from
sp->role.level.

Later, the spte's role will also be used to look up the right memslots
array.

Reviewed-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent f481b069
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment