pub fn build_and_boot_microvm(
instance_info: &InstanceInfo,
vm_resources: &VmResources,
event_manager: &mut EventManager,
seccomp_filters: &BpfThreadMap,
) -> Result<Arc<Mutex<Vmm>>, StartMicrovmError>Expand description
Builds and boots a microVM based on the current Firecracker VmResources configuration.
This is the default build recipe, one could build other microVM flavors by using the independent functions in this module instead of calling this recipe.
An Arc reference of the built Vmm is also plugged in the EventManager, while another
is returned.