Trait virt::AcceptInitialPages
source · pub trait AcceptInitialPages {
type Error: Error;
// Required method
fn accept_initial_pages(
&self,
pages: &[(MemoryRange, PageVisibility)],
) -> Result<(), Self::Error>;
}
Expand description
Extension trait for accepting initial pages.
Required Associated Types§
Required Methods§
sourcefn accept_initial_pages(
&self,
pages: &[(MemoryRange, PageVisibility)],
) -> Result<(), Self::Error>
fn accept_initial_pages( &self, pages: &[(MemoryRange, PageVisibility)], ) -> Result<(), Self::Error>
Accepts initial pages on behalf of the guest.
This can only be used during the load path during partition start to accept pages on behalf of the guest that were set as part of the load process. The host virtstack cannot accept pages on behalf of the guest once it has started running.