Home
last modified time | relevance | path

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

/packages/modules/Virtualization/virtualizationmanager/src/
Dcrosvm.rs220 pub enum PayloadState { enum
361 payload_state: Mutex<PayloadState>,
409 payload_state: Mutex::new(PayloadState::Starting), in new()
470 if failure_reason.is_empty() && self.payload_state() == PayloadState::Hangup { in monitor_vm_exit()
515 *s < PayloadState::Started in monitor_payload_hangup()
526 self.update_payload_state(PayloadState::Hangup).unwrap(); in monitor_payload_hangup()
569 pub fn payload_state(&self) -> PayloadState { in payload_state() argument
574 pub fn update_payload_state(&self, new_state: PayloadState) -> Result<(), Error> { in update_payload_state()
Daidl.rs20 …{CrosvmConfig, DiskFile, DisplayConfig, GpuConfig, InputDeviceOption, PayloadState, VmContext, VmI…
1354 PayloadState::Starting => VirtualMachineState::STARTING, in get_state()
1355 PayloadState::Started => VirtualMachineState::STARTED, in get_state()
1356 PayloadState::Ready => VirtualMachineState::READY, in get_state()
1357 PayloadState::Finished => VirtualMachineState::FINISHED, in get_state()
1358 PayloadState::Hangup => VirtualMachineState::DEAD, in get_state()
1570 vm.update_payload_state(PayloadState::Started) in notifyPayloadStarted()
1587 vm.update_payload_state(PayloadState::Ready) in notifyPayloadReady()
1601 vm.update_payload_state(PayloadState::Finished) in notifyPayloadFinished()
1615 vm.update_payload_state(PayloadState::Finished) in notifyError()