pub trait VmPartition:
'static
+ Send
+ Sync
+ InspectMut
+ ProtobufSaveRestore {
// Required methods
fn reset(&mut self) -> Result<()>;
fn scrub_vtl(&mut self, vtl: Vtl) -> Result<()>;
fn accept_initial_pages(
&mut self,
pages: Vec<(MemoryRange, PageVisibility)>,
) -> Result<()>;
}
Expand description
Trait with the minimal methods needed to run the partition.
Required Methods§
Sourcefn accept_initial_pages(
&mut self,
pages: Vec<(MemoryRange, PageVisibility)>,
) -> Result<()>
fn accept_initial_pages( &mut self, pages: Vec<(MemoryRange, PageVisibility)>, ) -> Result<()>
Accepts pages on behalf of the loader.