KVM: reorganize hva_to_pfn
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Tue, 21 Aug 2012 03:00:22 +0000 (11:00 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 22 Aug 2012 12:08:54 +0000 (15:08 +0300)
commit2fc843117d64b31c20d36c6b625c0626c9a41a41
tree29286338f67b88225a791203f2705471f438c8a2
parent86ab8cffb498077e926957f099b064db3751c1de
KVM: reorganize hva_to_pfn

We do too many things in hva_to_pfn, this patch reorganize the code,
let it be better readable

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/kvm_main.c