pub fn vfio_unmap_guest_memory<M: GuestMemory>(&self, mem: &M) -> Result<()> {
        mem.iter().try_for_each(|region| {
            self.vfio_dma_unmap(region.start_addr().raw_value(), region.len() as u64)
        })
    }
/// Remove all guest memory regions from the vfio container's iommu table.
///
/// The vfio kernel driver and device hardware couldn't access this guest memory after
/// returning from the function.
///
/// # Parameters
/// * mem: pinned guest memory which could be accessed by devices binding to the container.
Remove all guest memory regions from the vfio container's iommu table.
The vfio kernel driver and device hardware couldn't access this guest memory after
returning from the function.
Remove all guest memory regions from the vfio container ' s iommu table . The vfio kernel driver and device hardware couldn ' t access this guest memory after returning from the function .
pub fn vfio_unmap_guest_memory<M: GuestMemory>(&self, mem: &M) -> Result<()> {
        mem.iter().try_for_each(|region| {
            self.vfio_dma_unmap(region.start_addr().raw_value(), region.len() as u64)
        })
    }
pub fn vfio_unmap_guest_memory < M : GuestMemory > ( & self , mem : & M ) -> Result < ( ) > { mem . iter ( ) . try_for_each ( | region | { self . vfio_dma_unmap ( region . start_addr ( ) . raw_value ( ) , region . len ( ) as u64 ) } ) }
Remove all guest memory regions from the vfio container's iommu table.
Remove all guest memory regions from the vfio container ' s iommu table .
&self
mem
&M