mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Simplify the vcpu run switch
Use a catchall case for all reasons that we do not handle, and move the vCPU run switch into its own function. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
6615d55223
commit
8bb71fad76
@@ -4,6 +4,8 @@
|
||||
//
|
||||
|
||||
extern crate kvm_ioctls;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
|
||||
use kvm_ioctls::*;
|
||||
use std::fmt::{self, Display};
|
||||
|
||||
Reference in New Issue
Block a user