hypervisor: kvm: Implement vCPU state method

Implement the vCPU state getter and setter separately from the initial
KVM Hypervisor trait implementation, mostly for readability purposes.

Signed-off-by: Muminul Islam <muislam@microsoft.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Muminul Islam
2020-06-02 14:24:33 -07:00
committed by Samuel Ortiz
parent 72e39a3496
commit c48d0c1a67
7 changed files with 740 additions and 11 deletions

View File

@@ -18,6 +18,11 @@
//! - arm64
//!
extern crate serde;
extern crate serde_derive;
extern crate serde_json;
extern crate thiserror;
/// KVM implementation module
pub mod kvm;