From 79ccb25f78d10e00326b626aaf12fbccd4a8351a Mon Sep 17 00:00:00 2001 From: Ruoqing He Date: Sat, 12 Oct 2024 22:11:23 +0800 Subject: [PATCH] arch: Enable build with `kvm` feature Currently `arch` crate cannot be built, by specifying `hypervisor/kvm` to turn on the features required for its dependency - `hypervisor` crate to build. Thus enabling `arch` crate to be built with command: ```sh cargo build -p arch --features kvm ``` Signed-off-by: Ruoqing He --- arch/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/Cargo.toml b/arch/Cargo.toml index 78e5278d3..51020b95a 100644 --- a/arch/Cargo.toml +++ b/arch/Cargo.toml @@ -6,7 +6,7 @@ version = "0.1.0" [features] default = [] -kvm = [] +kvm = ["hypervisor/kvm"] sev_snp = [] tdx = []