Crate dbs_address_space
source ·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.
Structs
- An address space implementation with region hotplug capability.
- Base implementation to manage guest physical address space, without support of region hotplug.
- Address space layout configuration.
- Struct to maintain configuration information about a guest address region.
GuestMemory
implementation that manage hybrid types of guest memory regions.- The
GuestMemoryManager
manages all guest memory for virtual machines. - Guest memory region for virtio-fs DAX window.
- Type for recording numa ids of different devices
- Record all region’s info of a numa node.
- Record numa node memory information.
- Upper bound of host memory.
Enums
- Errors associated with virtual machine address space management.
- Type of address space regions.
- An adapter for different concrete implementations of
GuestMemoryRegion
.
Constants
- Strategy of mbind()
- Strategy of mbind() and don’t lead to OOM.