mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Factorize the vm boot and shutdown code
So that the API handling state machine is cleaner and easier to read. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
@@ -213,6 +213,9 @@ pub enum Error {
|
||||
/// VM is not created
|
||||
VmNotCreated,
|
||||
|
||||
/// VM is not bootted
|
||||
VmNotBooted,
|
||||
|
||||
/// Cannot clone EventFd.
|
||||
EventFdClone(io::Error),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user