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.

Re-exports§

pub use layout::USABLE_END;

Structs§

AddressSpace
An address space implementation with region hotplug capability.
AddressSpaceBase
Base implementation to manage guest physical address space, without support of region hotplug.
AddressSpaceLayout
Address space layout configuration.
AddressSpaceRegion
Struct to maintain configuration information about a guest address region.
GuestMemoryHybrid
GuestMemory implementation that manage hybrid types of guest memory regions.
GuestMemoryManager
The GuestMemoryManager manages all guest memory for virtual machines.
GuestRegionRaw
Guest memory region for virtio-fs DAX window.
NumaIdTable
Type for recording numa ids of different devices
NumaNode
Record all region’s info of a numa node.
NumaNodeInfo
Record numa node memory information.
USABLE_END
Upper bound of host memory.

Enums§

AddressSpaceError
Errors associated with virtual machine address space management.
AddressSpaceRegionType
Type of address space regions.
GuestRegionHybrid
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.