Home
last modified time | relevance | path

Searched refs:VmRunMode (Results 1 – 2 of 2) sorted by relevance

/external/crosvm/vm_control/src/
Dlib.rs64 pub enum VmRunMode { enum
73 impl Display for VmRunMode { implementation
75 use self::VmRunMode::*; in fmt()
85 impl Default for VmRunMode { implementation
87 VmRunMode::Running in default()
349 run_mode: &mut Option<VmRunMode>, in execute() argument
356 *run_mode = Some(VmRunMode::Exiting); in execute()
360 *run_mode = Some(VmRunMode::Suspending); in execute()
364 *run_mode = Some(VmRunMode::Running); in execute()
/external/crosvm/src/
Dlinux.rs52 VmMemoryControlResponseSocket, VmMemoryRequest, VmMemoryResponse, VmRunMode,
1042 mtx: Mutex<VmRunMode>,
1047 fn set_and_notify(&self, new_mode: VmRunMode) { in set_and_notify() argument
1159 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()