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:
@@ -73,9 +73,6 @@ pub enum ApiError {
|
||||
/// The VM info is not available.
|
||||
VmInfo(VmError),
|
||||
|
||||
/// The VM config is missing.
|
||||
VmMissingConfig,
|
||||
|
||||
/// The VM could not be paused.
|
||||
VmPause(VmError),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user