KVM: use gfn_to_pfn_memslot in kvm_iommu_map_pages
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 23 Dec 2009 16:35:20 +0000 (14:35 -0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:35:44 +0000 (12:35 -0300)
commit3ad26d8139a82b0510b1e0435ee82ae461d33401
treef97e5eabb216086a1faf9e6fe055533e12a08bdb
parent506f0d6f9c40ae7d9634acf3c26358810f42c24a
KVM: use gfn_to_pfn_memslot in kvm_iommu_map_pages

So its possible to iommu map a memslot before making it visible to
kvm.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
include/linux/kvm_host.h
virt/kvm/iommu.c
virt/kvm/kvm_main.c