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§
- Guest
Region Mmap GuestMemoryRegionimplementation that mmaps the guest’s memory region in the current process.- Mmap
Range xenandtarget_family=unix MmapRangerepresents a range of arguments required to create Mmap regions.- Mmap
Region xenandtarget_family=unix - Helper structure for working with mmaped memory regions with Xen.
- Mmap
XenFlags xenandtarget_family=unix - Flags for the Xen mmap message.
Enums§
- From
Ranges Error - Errors that can happen during
GuestMemoryMmap::from_rangesand related functions. - Mmap
Region Error xenandtarget_family=unix - Error conditions that may arise when creating a new
MmapRegionobject.
Type Aliases§
- Guest
Memory Mmap GuestMemoryBackendimplementation that mmaps the guest’s memory in the current process.