KVM: MMU: Use gfn_to_rmap() instead of directly reading rmap array
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Wed, 1 Aug 2012 09:02:01 +0000 (18:02 +0900)
committerAvi Kivity <avi@redhat.com>
Mon, 6 Aug 2012 09:47:04 +0000 (12:47 +0300)
commit65fbe37c42ed75604c9a770639209dcee162ebe7
treeaf03eda97fb68a0329b2890a5a509944d79dffdd
parentaab2eb7a38e0e510874acca01838f5badbca6c7e
KVM: MMU: Use gfn_to_rmap() instead of directly reading rmap array

This helps to make rmap architecture specific in a later patch.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/mmu_audit.c