Skip to main content

VmiRead

Trait VmiRead 

Source
pub trait VmiRead: VmiDriver {
    // Required method
    fn read_page(&self, gfn: Gfn) -> Result<VmiMappedPage, VmiError>;
}
Expand description

Capability to read guest physical memory pages.

Required Methods§

Source

fn read_page(&self, gfn: Gfn) -> Result<VmiMappedPage, VmiError>

Reads a page of memory from the virtual machine.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Arch> VmiRead for VmiKdmpDriver<Arch>
where Arch: ArchAdapter,

Source§

impl<Arch> VmiRead for VmiXenCoreDumpDriver<Arch>
where Arch: ArchAdapter,

Source§

impl<Arch> VmiRead for VmiXenDriver<Arch>
where Arch: ArchAdapter,