mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Refactor slightly vm_boot and 'control_loop'
It ensures all handlers for `ApiRequest` in `control_loop` are consistent and minimum and should read better. No functional changes. Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
@@ -142,6 +142,9 @@ pub enum Error {
|
||||
/// Failed to join on vCPU threads
|
||||
ThreadCleanup(std::boxed::Box<dyn std::any::Any + std::marker::Send>),
|
||||
|
||||
/// VM config is missing.
|
||||
VmMissingConfig,
|
||||
|
||||
/// VM is not created
|
||||
VmNotCreated,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user