xref: /cloud-hypervisor/hypervisor/src/lib.rs (revision f9b51a41b5ae37e69ddc8646da310a17dd0986a6)
1 // Copyright © 2019 Intel Corporation
2 //
3 // SPDX-License-Identifier: Apache-2.0
4 //
5 // Copyright © 2020, Microsoft  Corporation
6 //
7 // Copyright 2018-2019 CrowdStrike, Inc.
8 //
9 //
10 
11 //! A generic abstraction around hypervisor functionality
12 //!
13 //! This crate offers a trait abstraction for underlying hypervisors
14 //!
15 //! # Platform support
16 //!
17 //! - x86_64
18 //! - arm64
19 //!
20 
21 /// KVM implementation module
22 pub mod kvm;
23 
24 /// CPU related module
25 mod cpu;
26 
27 pub use cpu::{HypervisorCpuError, Vcpu};
28 pub use kvm::*;
29