Merge pull request #8124 from jodh-intel/ch-enable-feature

runtime-rs: ch: Enable feature
This commit is contained in:
James O. D. Hunt 2023-10-06 13:02:08 +01:00 committed by GitHub
commit 16fe81f27c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 18 deletions

View File

@ -7,20 +7,6 @@ External hypervisor support is currently being developed.
See [the main tracking issue](https://github.com/kata-containers/kata-containers/issues/4634) See [the main tracking issue](https://github.com/kata-containers/kata-containers/issues/4634)
for further details. for further details.
### Cloud Hypervisor
A basic implementation currently exists for Cloud Hypervisor. However,
since it is not yet fully functional, the feature is disabled by
default. When the implementation matures, the feature will be enabled
by default.
> **Note:**
>
> To enable the feature, follow the instructions on https://github.com/kata-containers/kata-containers/pull/6201.
See the [Cloud Hypervisor tracking issue](https://github.com/kata-containers/kata-containers/issues/6263)
for further details.
Some key points for supporting multi-vmm in rust runtime. Some key points for supporting multi-vmm in rust runtime.
## 1. Hypervisor Config ## 1. Hypervisor Config

View File

@ -28,7 +28,7 @@ tracing = "0.1.36"
agent = { path = "../../agent" } agent = { path = "../../agent" }
common = { path = "../common" } common = { path = "../common" }
hypervisor = { path = "../../hypervisor" } hypervisor = { path = "../../hypervisor", features = ["cloud-hypervisor"] }
kata-sys-util = { path = "../../../../libs/kata-sys-util" } kata-sys-util = { path = "../../../../libs/kata-sys-util" }
kata-types = { path = "../../../../libs/kata-types" } kata-types = { path = "../../../../libs/kata-types" }
logging = { path = "../../../../libs/logging"} logging = { path = "../../../../libs/logging"}
@ -37,8 +37,7 @@ persist = { path = "../../persist"}
resource = { path = "../../resource" } resource = { path = "../../resource" }
[features] [features]
default = [] default = ["cloud-hypervisor"]
# Feature is not yet complete, so not enabled by default. # Enable the Cloud Hypervisor driver
# See https://github.com/kata-containers/kata-containers/issues/6264.
cloud-hypervisor = [] cloud-hypervisor = []