]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: Introduce hva_to_gfn_memslot() for kvm_handle_hva()
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Mon, 2 Jul 2012 08:54:30 +0000 (17:54 +0900)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 18 Jul 2012 19:55:04 +0000 (16:55 -0300)
commitd19a748b1c42b133e9263e9023c1d162efa6f4ad
treeab8885d5e02b4a25adb9a8b72d16fc0620c9323c
parent9594a4986192f99c01a7c0a1779b5ac0eff8e208
KVM: Introduce hva_to_gfn_memslot() for kvm_handle_hva()

This restricts hva handling in mmu code and makes it easier to extend
kvm_handle_hva() so that it can treat a range of addresses later in this
patch series.

Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Cc: Alexander Graf <agraf@suse.de>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/powerpc/kvm/book3s_64_mmu_hv.c
arch/x86/kvm/mmu.c
include/linux/kvm_host.h