Lines Matching refs:Some

182             renderer_use_egl: Some(raw_config.rendererUseEgl),  in new()
183 renderer_use_gles: Some(raw_config.rendererUseGles), in new()
184 renderer_use_glx: Some(raw_config.rendererUseGlx), in new()
185 renderer_use_surfaceless: Some(raw_config.rendererUseSurfaceless), in new()
186 renderer_use_vulkan: Some(raw_config.rendererUseVulkan), in new()
280 if let Some(tap_file) = &config.tap { Some(tap_file.try_clone()?) } else { None }; in start()
294 let monitor_vm_exit_thread = Some(thread::spawn(move || { in start()
421 vm_metric.start_timestamp = Some(SystemTime::now()); in start()
444 if let Some(exit_status_code) = status.code() { in monitor_vm_exit()
497 if let Some(tap_file) = tap { in monitor_vm_exit()
519 let child_still_running = child.try_wait().ok() == Some(None); in monitor_payload_hangup()
548 Ok(guest_time) => vm_metric.cpu_guest_time = Some(guest_time), in monitor_vm_status()
556 Some(x) => Some(Rss::extract_max(x, &rss)), in monitor_vm_status()
557 None => Some(rss), in monitor_vm_status()
619 if let Some(total_memory) = stats.total_memory { in trim_memory()
709 if let Some(cpus) = get_num_cpus() { in check_if_all_cpus_allowed()
771 if let Some((reason, info)) = failure_reason.split_once('|') { in death_reason()
802 Some(0) => DeathReason::SHUTDOWN, in death_reason()
803 Some(CROSVM_START_ERROR_STATUS) => DeathReason::START_FAILED, in death_reason()
804 Some(CROSVM_REBOOT_STATUS) => DeathReason::REBOOT, in death_reason()
805 Some(CROSVM_CRASH_STATUS) => DeathReason::CRASH, in death_reason()
806 Some(CROSVM_WATCHDOG_REBOOT_STATUS) => DeathReason::WATCHDOG_REBOOT, in death_reason()
807 Some(_) => DeathReason::UNKNOWN, in death_reason()
837 if let Some(p) = path.to_str() { in vfio_argument_for_platform_device()
853 let Some(dtbo) = &config.dtbo else { in append_platform_devices() localVariable
895 Some(pvmfw_path) if !pvmfw_path.is_empty() => { in run_vm()
935 if let Some(memory_mib) = memory_mib { in run_vm()
939 if let Some(cpus) = config.cpus { in run_vm()
951 } else if let Some(cpus) = get_num_cpus() { in run_vm()
958 if let Some(gdb_port) = config.gdb_port { in run_vm()
1012 if let Some(bootloader) = &config.bootloader { in run_vm()
1016 if let Some(initrd) = &config.initrd { in run_vm()
1020 if let Some(params) = &config.params { in run_vm()
1030 if let Some(kernel) = &config.kernel { in run_vm()
1040 if let Some(dt_overlay) = &config.device_tree_overlay { in run_vm()
1045 if let Some(gpu_config) = &config.gpu_config { in run_vm()
1047 if let Some(backend) = &gpu_config.backend { in run_vm()
1050 if let Some(context_types) = &gpu_config.context_types { in run_vm()
1053 if let Some(pci_address) = &gpu_config.pci_address { in run_vm()
1056 if let Some(renderer_features) = &gpu_config.renderer_features { in run_vm()
1076 if let Some(display_config) = &config.display_config { in run_vm()
1100 if let Some(tap) = &config.tap { in run_vm()
1145 if let Some(virtio_snd_backend) = &config.virtio_snd_backend { in run_vm()
1214 if let Some(file) = file { in format_serial_out_arg()