Skip to content

Commit

Permalink
arch: Enable build with kvm feature
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
RuoqingHe authored and rbradford committed Oct 12, 2024
1 parent ac97690 commit 79ccb25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version = "0.1.0"

[features]
default = []
kvm = []
kvm = ["hypervisor/kvm"]
sev_snp = []
tdx = []

Expand Down

0 comments on commit 79ccb25

Please sign in to comment.