MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / unmap

Method unmap

pci/src/vfio_user.rs:592–598  ·  view source on GitHub ↗
(&self, iova: u64, size: u64)

Source from the content-addressed store, hash-verified

590 }
591
592 fn unmap(&self, iova: u64, size: u64) -> std::result::Result<(), std::io::Error> {
593 self.client
594 .lock()
595 .unwrap()
596 .dma_unmap(iova, size)
597 .map_err(|e| std::io::Error::other(format!("Error unmapping region: {e}")))
598 }
599}

Callers

nothing calls this directly

Calls 1

dma_unmapMethod · 0.45

Tested by

no test coverage detected