Module mmap

Module mmap 

Source
Available on crate feature backend-mmap only.
Expand description

The default implementation for the GuestMemoryBackend trait.

This implementation is mmap-ing the memory of the guest into the current process.

Re-exports§

pub use crate::bitmap::NewBitmap;

Structs§

GuestRegionMmap
GuestMemoryRegion implementation that mmaps the guest’s memory region in the current process.
MmapRangexen and target_family=unix
MmapRange represents a range of arguments required to create Mmap regions.
MmapRegionxen and target_family=unix
Helper structure for working with mmaped memory regions with Xen.
MmapXenFlagsxen and target_family=unix
Flags for the Xen mmap message.

Enums§

FromRangesError
Errors that can happen during GuestMemoryMmap::from_ranges and related functions.
MmapRegionErrorxen and target_family=unix
Error conditions that may arise when creating a new MmapRegion object.

Type Aliases§

GuestMemoryMmap
GuestMemoryBackend implementation that mmaps the guest’s memory in the current process.