kvm/x86/mmu: Pass gfn and level to rmapp callback.
authorAndres Lagar-Cavilla <andreslc@google.com>
Tue, 23 Sep 2014 19:34:54 +0000 (12:34 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 24 Sep 2014 12:07:57 +0000 (14:07 +0200)
commit8a9522d2fe6a1b643d3aef5ab7f097f73c601e7a
tree1502f42e723797befbb4b8f8418fde14d01f385b
parentc1118b3602c2329671ad5ec8bdf8e374323d6343
kvm/x86/mmu: Pass gfn and level to rmapp callback.

Callbacks don't have to do extra computation to learn what the caller
(lvm_handle_hva_range()) knows very well. Useful for
debugging/tracing/printk/future.

Signed-off-by: Andres Lagar-Cavilla <andreslc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c
include/trace/events/kvm.h