vmm: Manage the exit and reset behaviours from the control loop

So that we don't need to forward an ExitBehaviour up to the VMM thread.
This simplifies the control loop and the VMM thread even further.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz
2019-10-08 15:53:39 +02:00
committed by Sebastien Boeuf
parent a95fa1c4e8
commit 1298b508bf
2 changed files with 5 additions and 37 deletions

View File

@@ -436,12 +436,6 @@ pub struct VmInfo<'a> {
pub vm_cfg: &'a VmConfig,
}
#[derive(PartialEq)]
pub enum ExitBehaviour {
Shutdown = 1,
Reset = 2,
}
#[derive(Clone, Debug, Deserialize, Serialize)]
pub enum VmState {
Created,