Expand description
Interfaces to read and write guest memory.
Modules§
- Types representing contiguous and discontiguous ranges of guest memory.
Structs§
- A page-aligned heap allocation for use with
GuestMemory
. - Returned by
GuestMemoryAccess::access_bitmap
. - A wrapper around a
GuestMemoryAccess
that provides methods for safely reading and writing guest memory. - A memory access error returned by a
GuestMemoryAccess
trait method. - A memory access error returned by one of the
GuestMemory
methods.
Enums§
- The action to take after
GuestMemoryAccess::page_fault
returns to continue the operation.
Constants§
Traits§
- Doorbell provides a mechanism to register for notifications on writes to specific addresses in guest memory.
- A trait for a guest memory backing.
- A trait for a guest memory backing that is fully available via a virtual address mapping, as opposed to the fallback functions such as
GuestMemoryAccess::read_fallback
. - Represents a range of locked guest pages as an ordered list of the VA sub-ranges to which the guest pages are mapped. The range may only partially span the first and last page and must fully span all intermediate pages.
- Trait to map a ROM at one or more locations in guest memory.
- Trait implemented to allow mapping and unmapping a region of memory at a particular guest address.
- Trait implemented for a region of memory that can have memory mapped into it.
- Trait implemented to allow the creation of memory regions.
- Trait to unmap a ROM from guest memory.