KVM: improve hva_to_pfn() readability
authorGleb Natapov <gleb@redhat.com>
Tue, 19 Oct 2010 16:13:41 +0000 (18:13 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:23:23 +0000 (11:23 +0200)
commit8030089f9e93ee5cefe74d258e35edc7ce9e4b73
treefc6f910bfa8867b8d8155e4ef1467f236341ade4
parentfc5f06fac6fb8ce469ea173370f2cd398f1d9f9a
KVM: improve hva_to_pfn() readability

Improve vma handling code readability in hva_to_pfn() and fix
async pf handling code to properly check vma returned by find_vma().

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
virt/kvm/kvm_main.c