Available on crate feature
iommu only.Expand description
Provide an interface for IOMMUs enabling I/O virtual address (IOVA) translation.
All IOMMUs consist of an IOTLB (Iotlb), which is backed by a data source that can deliver
all mappings. For example, for vhost-user, that data source is the vhost-user front-end; i.e.
IOTLB misses require sending a notification to the front-end and awaiting a reply that supplies
the desired mapping.
Structs§
- Iommu
Memory GuestMemorytype that consists of an underlyingGuestMemoryBackendobject plus anIommu.- Iommu
Memory Slice Iterator - Iterates over
VolatileSlices that together form an area in anIommuMemory. - Iotlb
- Provides an IOTLB.
- Iotlb
Fails - Lists the subranges in I/O virtual address space that turned out to not be accessible when trying to access an IOVA range.
- Iotlb
Iterator - Iterates over a range of valid IOTLB mappings that together constitute a continuous range in I/O virtual address space.
- Iova
Range - Representation of an IOVA memory range (i.e. in the I/O virtual address space).
- Mapped
Range - Representation of a mapped memory range in the underlying address space.
Enums§
- Error
- Errors associated with IOMMU address translation.
Traits§
- Iommu
- An IOMMU, allowing translation of I/O virtual addresses (IOVAs).