Skip to main content

VmiWrite

Trait VmiWrite 

Source
pub trait VmiWrite: VmiDriver {
    // Required method
    fn write_page(
        &self,
        gfn: Gfn,
        offset: u64,
        content: &[u8],
    ) -> Result<VmiMappedPage, VmiError>;
}
Expand description

Capability to write guest physical memory pages.

Required Methods§

Source

fn write_page( &self, gfn: Gfn, offset: u64, content: &[u8], ) -> Result<VmiMappedPage, VmiError>

Writes data to a page of memory in the virtual machine.

Implementors§