MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / tdx_init

Method tdx_init

hypervisor/src/vm.rs:400–402  ·  view source on GitHub ↗

Initialize TDX on this VM

(&self, _cpuid: &[CpuIdEntry], _max_vcpus: u32)

Source from the content-addressed store, hash-verified

398 #[cfg(feature = "tdx")]
399 /// Initialize TDX on this VM
400 fn tdx_init(&self, _cpuid: &[CpuIdEntry], _max_vcpus: u32) -> Result<()> {
401 unimplemented!()
402 }
403 #[cfg(feature = "tdx")]
404 /// Finalize the configuration of TDX on this VM
405 fn tdx_finalize(&self) -> Result<()> {

Callers 2

initialize_tdxMethod · 0.45
init_tdx_if_enabledMethod · 0.45

Implementers 2

mod.rshypervisor/src/mshv/mod.rs
mod.rshypervisor/src/kvm/mod.rs

Calls

no outgoing calls

Tested by

no test coverage detected