Searched refs:vm_state (Results 1 – 3 of 3) sorted by relevance
335 pub vm_state: Mutex<VmState>, field397 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() localVariable453 *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() localVariable540 if let VmState::Dead = vm_state { in monitor_vm_status()590 let vm_state = &mut *self.vm_state.lock().unwrap(); in kill() localVariable591 if let VmState::Running { child, monitor_vm_exit_thread } = vm_state { in kill()
193 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()
275 fn state_to_str(vm_state: VirtualMachineState) -> &'static str { in state_to_str()276 match vm_state { in state_to_str()