diff options
Diffstat (limited to 'virt/kvm/iommu.c')
| -rw-r--r-- | virt/kvm/iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/iommu.c b/virt/kvm/iommu.c index d2f06be63354..96048ee9e39e 100644 --- a/virt/kvm/iommu.c +++ b/virt/kvm/iommu.c | |||
| @@ -271,7 +271,7 @@ static void kvm_iommu_put_pages(struct kvm *kvm, | |||
| 271 | pfn = phys >> PAGE_SHIFT; | 271 | pfn = phys >> PAGE_SHIFT; |
| 272 | 272 | ||
| 273 | /* Unmap address from IO address space */ | 273 | /* Unmap address from IO address space */ |
| 274 | order = iommu_unmap(domain, gfn_to_gpa(gfn), PAGE_SIZE); | 274 | order = iommu_unmap(domain, gfn_to_gpa(gfn), 0); |
| 275 | unmap_pages = 1ULL << order; | 275 | unmap_pages = 1ULL << order; |
| 276 | 276 | ||
| 277 | /* Unpin all pages we just unmapped to not leak any memory */ | 277 | /* Unpin all pages we just unmapped to not leak any memory */ |
