mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Deprecate SGX support
This commit adds the warning to deprecate the SGX support with the intention to remove the support from code base in two release cycles. See: #6960 Signed-off-by: Bo Chen <bchen@crusoe.ai>
This commit is contained in:
@@ -2893,6 +2893,7 @@ impl VmConfig {
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
{
|
||||
if let Some(sgx_epc_list) = &vm_params.sgx_epc {
|
||||
warn!("SGX support is deprecated and will be removed in a future release.");
|
||||
let mut sgx_epc_config_list = Vec::new();
|
||||
for item in sgx_epc_list.iter() {
|
||||
let sgx_epc_config = SgxEpcConfig::parse(item)?;
|
||||
|
||||
Reference in New Issue
Block a user