Searched refs:VmRunMode (Results 1 – 2 of 2) sorted by relevance
64 pub enum VmRunMode { enum73 impl Display for VmRunMode { implementation75 use self::VmRunMode::*; in fmt()85 impl Default for VmRunMode { implementation87 VmRunMode::Running in default()349 run_mode: &mut Option<VmRunMode>, in execute() argument356 *run_mode = Some(VmRunMode::Exiting); in execute()360 *run_mode = Some(VmRunMode::Suspending); in execute()364 *run_mode = Some(VmRunMode::Running); in execute()
52 VmMemoryControlResponseSocket, VmMemoryRequest, VmMemoryResponse, VmRunMode,1042 mtx: Mutex<VmRunMode>,1047 fn set_and_notify(&self, new_mode: VmRunMode) { in set_and_notify() argument1159 VmRunMode::Running => break, in run_vcpu()1160 VmRunMode::Suspending => { in run_vcpu()1172 VmRunMode::Exiting => break 'vcpu_loop, in run_vcpu()1667 VmRunMode::Exiting => { in run_control()1755 run_mode_arc.set_and_notify(VmRunMode::Exiting); in run_control()