Lines Matching refs:failure_reason
459 let mut failure_reason = String::new(); in monitor_vm_exit() localVariable
460 match failure_pipe_read.read_to_string(&mut failure_reason) { in monitor_vm_exit()
462 Ok(len) if len > 0 => info!("VM returned failure reason '{}'", &failure_reason), in monitor_vm_exit()
469 let failure_reason = in monitor_vm_exit() localVariable
470 if failure_reason.is_empty() && self.payload_state() == PayloadState::Hangup { in monitor_vm_exit()
473 Cow::from(failure_reason) in monitor_vm_exit()
478 let death_reason = death_reason(&result, &failure_reason); in monitor_vm_exit()
770 fn death_reason(result: &Result<ExitStatus, io::Error>, mut failure_reason: &str) -> DeathReason { in death_reason()
771 if let Some((reason, info)) = failure_reason.split_once('|') { in death_reason()
774 failure_reason = reason; in death_reason()
777 match failure_reason { in death_reason()