(&self)
| 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 | /// |
nothing calls this directly
no test coverage detected