KVM: x86: pass struct kvm_mmu_page to gfn_to_rmap
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 May 2015 13:11:46 +0000 (15:11 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 Jun 2015 15:26:35 +0000 (17:26 +0200)
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: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/mmu_audit.c

Simple merge
Simple merge