]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/i386/amd_iommu.c
iommu: Add IOMMU index argument to translate method
[mirror_qemu.git] / hw / i386 / amd_iommu.c
index 63d46ff6ee2757f5d290b18a89aab99078aa52ad..1fd669fef8af667df58304dce81fa010e28fee58 100644 (file)
@@ -991,7 +991,7 @@ static inline bool amdvi_is_interrupt_addr(hwaddr addr)
 }
 
 static IOMMUTLBEntry amdvi_translate(IOMMUMemoryRegion *iommu, hwaddr addr,
-                                     IOMMUAccessFlags flag)
+                                     IOMMUAccessFlags flag, int iommu_idx)
 {
     AMDVIAddressSpace *as = container_of(iommu, AMDVIAddressSpace, iommu);
     AMDVIState *s = as->iommu_state;