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§
Sourcefn write_page(
&self,
gfn: Gfn,
offset: u64,
content: &[u8],
) -> Result<VmiMappedPage, VmiError>
fn write_page( &self, gfn: Gfn, offset: u64, content: &[u8], ) -> Result<VmiMappedPage, VmiError>
Writes data to a page of memory in the virtual machine.