hypervisor: Introduce mshv module in the hypervisor

This is the initial folder structure of the mshv module inside
the hypervisor crate. The aim of this module is to support Microsoft
Hyper-V as a supported Hypervisor.

Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
Muminul Islam
2020-12-03 14:14:04 -08:00
committed by Samuel Ortiz
parent 9ce6c3b75c
commit 9919dec1d9
5 changed files with 17 additions and 0 deletions

View File

@@ -32,6 +32,10 @@ extern crate thiserror;
/// KVM implementation module
pub mod kvm;
/// Microsoft Hypervisor implementation module
#[cfg(all(feature = "mshv", target_arch = "x86_64"))]
pub mod mshv;
/// Hypevisor related module
pub mod hypervisor;

View File

@@ -0,0 +1,10 @@
// SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
//
// Copyright © 2020, Microsoft Corporation
//
#![allow(dead_code)]
#![allow(unused_imports)]
#![allow(unused_variables)]
#![allow(unused_macros)]
#![allow(non_upper_case_globals)]