]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: remove __gfn_to_pfn
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 May 2015 14:09:04 +0000 (16:09 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 28 May 2015 08:43:34 +0000 (10:43 +0200)
commite37afc6ee5a6af9b334e2f214ec795e8bfaaaba5
tree06c46bed8ef09cdbaf0d6c3bd1c81f17e6aa2f2c
parentd9ef13c2b3983de8dd1373ef670799dbb6498122
KVM: remove __gfn_to_pfn

Most of the function that wrap it can be rewritten without it, except
for gfn_to_pfn_prot.  Just inline it into gfn_to_pfn_prot, and rewrite
the other function on top of gfn_to_pfn_memslot*.

Reviewed-by: Radim Krcmar <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/kvm_main.c