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

Method tdx_finalize

hypervisor/src/kvm/mod.rs:1360–1368  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1358 ///
1359 #[cfg(feature = "tdx")]
1360 fn tdx_finalize(&self) -> vm::Result<()> {
1361 tdx_command(
1362 &self.fd.as_raw_fd(),
1363 TdxCommand::Finalize,
1364 0,
1365 std::ptr::null(),
1366 )
1367 .map_err(vm::HypervisorVmError::FinalizeTdx)
1368 }
1369
1370 /// Initialize memory regions for the TDX VM
1371 ///

Callers

nothing calls this directly

Calls 2

tdx_commandFunction · 0.85
as_raw_fdMethod · 0.45

Tested by

no test coverage detected