Function swap::controller::handle_vmm_swap
source · fn handle_vmm_swap<'scope, 'env>(
scope: &'scope Scope<'scope, 'env>,
wait_ctx: &WaitContext<Token>,
page_handler: &'env PageHandler<'env>,
uffd_list: &'env mut UffdList<'_, Token, DeadUffdCheckerImpl>,
guest_memory: &GuestMemory,
regions: &[Range<usize>],
command_tube: &Tube,
worker: &Worker<MoveToStaging>,
state_transition: &'env Mutex<SwapStateTransition>,
bg_job_control: &'env BackgroundJobControl
) -> Result<VmmSwapResult>