Expand description
Traits and Structs to manage guest physical address space for virtual machines.
The vm-memory implements mechanisms to manage and access guest memory resident in guest physical address space. In addition to guest memory, there may be other type of devices resident in the same guest physical address space.
The dbs-address-space
crate provides traits and structs to manage the guest physical address
space for virtual machines, and mechanisms to coordinate all the devices resident in the
guest physical address space.
Re-exports§
pub use layout::USABLE_END;
Structs§
- Address
Space - An address space implementation with region hotplug capability.
- Address
Space Base - Base implementation to manage guest physical address space, without support of region hotplug.
- Address
Space Layout - Address space layout configuration.
- Address
Space Region - Struct to maintain configuration information about a guest address region.
- Guest
Memory Hybrid GuestMemory
implementation that manage hybrid types of guest memory regions.- Guest
Memory Manager - The
GuestMemoryManager
manages all guest memory for virtual machines. - Guest
Region Raw - Guest memory region for virtio-fs DAX window.
- Numa
IdTable - Type for recording numa ids of different devices
- Numa
Node - Record all region’s info of a numa node.
- Numa
Node Info - Record numa node memory information.
- USABLE_
END - Upper bound of host memory.
Enums§
- Address
Space Error - Errors associated with virtual machine address space management.
- Address
Space Region Type - Type of address space regions.
- Guest
Region Hybrid - An adapter for different concrete implementations of
GuestMemoryRegion
.
Constants§
- MPOL_
MF_ MOVE - Strategy of mbind()
- MPOL_
PREFERRED - Strategy of mbind() and don’t lead to OOM.