mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: seccomp: Remove unreachable patterns
Make HypervisorType enum's members conditional on build time features. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
@@ -61,7 +61,9 @@ pub use vm::{
|
||||
|
||||
#[derive(Debug, Copy, Clone)]
|
||||
pub enum HypervisorType {
|
||||
#[cfg(feature = "kvm")]
|
||||
Kvm,
|
||||
#[cfg(feature = "mshv")]
|
||||
Mshv,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user