Home
last modified time | relevance | path

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

/external/crosvm/src/sys/windows/
Drun_vcpu.rs80 use vm_control::VmRunMode;
100 mtx: Mutex<VmRunMode>,
105 pub fn set_and_notify(&self, new_mode: VmRunMode) { in set_and_notify() argument
498 VmRunMode::Running => break, in run()
499 VmRunMode::Suspending | VmRunMode::Breakpoint => { in run()
504 VmRunMode::Exiting => { in run()
547 if *self.run_mode.mtx.lock() != VmRunMode::Running { in report_stall()
903 run_mode_arc.set_and_notify(VmRunMode::Exiting); in vcpu_loop()
917 VmRunMode::Running => break, in vcpu_loop()
918 VmRunMode::Suspending => { in vcpu_loop()
[all …]
/external/crosvm/src/crosvm/sys/unix/
Dvcpu.rs266 mut run_mode: VmRunMode, in vcpu_loop() argument
299 if interrupted_by_signal || run_mode != VmRunMode::Running { in vcpu_loop()
304 Err(mpsc::TryRecvError::Empty) if run_mode == VmRunMode::Running => { in vcpu_loop()
334 VmRunMode::Running => break 'state_loop, in vcpu_loop()
335 VmRunMode::Suspending => { in vcpu_loop()
351 VmRunMode::Breakpoint => {} in vcpu_loop()
352 VmRunMode::Exiting => return ExitState::Stop, in vcpu_loop()
492 run_mode = VmRunMode::Breakpoint; in vcpu_loop()
561 run_mode: VmRunMode, in run_vcpu()
/external/crosvm/vm_control/src/
Dlib.rs121 RunState(VmRunMode),
124 GetStates(mpsc::Sender<VmRunMode>),
131 pub enum VmRunMode { enum
143 impl Display for VmRunMode { implementation
145 use self::VmRunMode::*; in fmt()
1187 fn get_vcpu_state(kick_vcpus: impl Fn(VcpuControl), vcpu_num: usize) -> anyhow::Result<VmRunMode> { in get_vcpu_state() argument
1193 let mut current_mode_vec: Vec<VmRunMode> = Vec::new(); in get_vcpu_state()
1203 if first_state == VmRunMode::Exiting { in get_vcpu_state()
1217 saved_run_mode: VmRunMode,
1235 VmRunMode::Running => { in new()
[all …]
/external/crosvm/src/crosvm/sys/
Dunix.rs2728 let mut run_mode = VmRunMode::Running; in run_control()
2732 run_mode = VmRunMode::Breakpoint; in run_control()
2736 (VmRunMode::Suspending, run_mode) in run_control()
2968 VcpuControl::RunState(VmRunMode::Suspending), in run_control()
3201 VmRunMode::Exiting => { in run_control()
3205 if other == VmRunMode::Running { in run_control()
3338 VcpuControl::RunState(VmRunMode::Exiting), in run_control()
/external/crosvm/src/sys/
Dwindows.rs187 use vm_control::VmRunMode;
1129 run_mode_arc.set_and_notify(VmRunMode::Exiting); in run_control()