Home
last modified time | relevance | path

Searched refs:vm_state (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Virtualization/virtualizationmanager/src/
Dcrosvm.rs335 pub vm_state: Mutex<VmState>, field
397 vm_state: Mutex::new(VmState::NotStarted { config: Box::new(config) }), in new()
422 let ret = self.vm_state.lock().unwrap().start(self.clone()); in start()
452 let mut vm_state = self.vm_state.lock().unwrap(); in monitor_vm_exit() localVariable
453 *vm_state = VmState::Dead; in monitor_vm_exit()
455 drop(vm_state); in monitor_vm_exit()
539 let vm_state = &*self.vm_state.lock().unwrap(); in monitor_vm_status() localVariable
540 if let VmState::Dead = vm_state { in monitor_vm_status()
590 let vm_state = &mut *self.vm_state.lock().unwrap(); in kill() localVariable
591 if let VmState::Running { child, monitor_vm_exit_thread } = vm_state { in kill()
Daidl.rs193 writeln!(writer, "\tState: {:?}", vm.vm_state.lock().unwrap()) in dump()
1230 if !matches!(&*self.instance.vm_state.lock().unwrap(), VmState::Running { .. }) { in connectVsock()
1351 match &*instance.vm_state.lock().unwrap() { in get_state()
/packages/modules/Virtualization/vm/src/
Drun.rs275 fn state_to_str(vm_state: VirtualMachineState) -> &'static str { in state_to_str()
276 match vm_state { in state_to_str()