aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r--virt/kvm/kvm_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 4e2321c733f7..87d296d8b270 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -684,7 +684,7 @@ skip_lpage:
684 spin_unlock(&kvm->mmu_lock); 684 spin_unlock(&kvm->mmu_lock);
685#ifdef CONFIG_DMAR 685#ifdef CONFIG_DMAR
686 /* map the pages in iommu page table */ 686 /* map the pages in iommu page table */
687 r = kvm_iommu_map_pages(kvm, base_gfn, npages); 687 r = kvm_iommu_map_pages(kvm, memslot);
688 if (r) 688 if (r)
689 goto out; 689 goto out;
690#endif 690#endif