pub fn build_microvm_from_snapshot(
instance_info: &InstanceInfo,
event_manager: &mut EventManager,
microvm_state: MicrovmState,
guest_memory: Vec<GuestRegionMmap>,
uffd: Option<Uffd>,
seccomp_filters: &BpfThreadMap,
vm_resources: &mut VmResources,
) -> Result<Arc<Mutex<Vmm>>, BuildMicrovmFromSnapshotError>Expand description
Builds and starts a microVM based on the provided MicrovmState.
An Arc reference of the built Vmm is also plugged in the EventManager, while another
is returned.