Expand description
Interfaces to read and write guest memory.
Modules§
- ranges
- Types representing contiguous and discontiguous ranges of guest memory.
Structs§
- Aligned
Heap Memory - A page-aligned heap allocation for use with
GuestMemory
. - Bitmap
Info - Returned by
GuestMemoryAccess::access_bitmap
. - Guest
Memory - A wrapper around a
GuestMemoryAccess
that provides methods for safely reading and writing guest memory. - Guest
Memory Backing Error - A memory access error returned by a
GuestMemoryAccess
trait method. - Guest
Memory Error - A memory access error returned by one of the
GuestMemory
methods. - Invalid
Gpn - Limit
- Locked
Pages - Locked
Range Impl
Enums§
- Access
Error - Multi
Region Error - Page
Fault Action - The action to take after
GuestMemoryAccess::page_fault
returns to continue the operation.
Constants§
Traits§
- Doorbell
Registration - Doorbell provides a mechanism to register for notifications on writes to specific addresses in guest memory.
- Guest
Memory Access - A trait for a guest memory backing.
- Linear
Guest Memory - 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
. - Locked
Range - 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.
- MapRom
- Trait to map a ROM at one or more locations in guest memory.
- Mappable
Guest Memory - Trait implemented to allow mapping and unmapping a region of memory at a particular guest address.
- Mapped
Memory Region - Trait implemented for a region of memory that can have memory mapped into it.
- Memory
Mapper - Trait implemented to allow the creation of memory regions.
- Memory
Read - Memory
Write - Unmap
Rom - Trait to unmap a ROM from guest memory.