Skip to content

Commit 16fe81f

Browse files
author
James O. D. Hunt
authored
Merge pull request kata-containers#8124 from jodh-intel/ch-enable-feature
runtime-rs: ch: Enable feature
2 parents fa6786d + b8a46a4 commit 16fe81f

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

src/runtime-rs/crates/hypervisor/README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,6 @@ External hypervisor support is currently being developed.
77
See [the main tracking issue](https://github.com/kata-containers/kata-containers/issues/4634)
88
for further details.
99

10-
### Cloud Hypervisor
11-
12-
A basic implementation currently exists for Cloud Hypervisor. However,
13-
since it is not yet fully functional, the feature is disabled by
14-
default. When the implementation matures, the feature will be enabled
15-
by default.
16-
17-
> **Note:**
18-
>
19-
> To enable the feature, follow the instructions on https://github.com/kata-containers/kata-containers/pull/6201.
20-
21-
See the [Cloud Hypervisor tracking issue](https://github.com/kata-containers/kata-containers/issues/6263)
22-
for further details.
23-
2410
Some key points for supporting multi-vmm in rust runtime.
2511
## 1. Hypervisor Config
2612

src/runtime-rs/crates/runtimes/virt_container/Cargo.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ tracing = "0.1.36"
2828

2929
agent = { path = "../../agent" }
3030
common = { path = "../common" }
31-
hypervisor = { path = "../../hypervisor" }
31+
hypervisor = { path = "../../hypervisor", features = ["cloud-hypervisor"] }
3232
kata-sys-util = { path = "../../../../libs/kata-sys-util" }
3333
kata-types = { path = "../../../../libs/kata-types" }
3434
logging = { path = "../../../../libs/logging"}
@@ -37,8 +37,7 @@ persist = { path = "../../persist"}
3737
resource = { path = "../../resource" }
3838

3939
[features]
40-
default = []
40+
default = ["cloud-hypervisor"]
4141

42-
# Feature is not yet complete, so not enabled by default.
43-
# See https://github.com/kata-containers/kata-containers/issues/6264.
42+
# Enable the Cloud Hypervisor driver
4443
cloud-hypervisor = []

0 commit comments

Comments
 (0)