(
&self,
vm_config: &VmConfig,
fw_path: &Path,
kernel_path: &Path,
initrd_path: &Path,
kernel_cmdline: &str,
)
| 289 | } |
| 290 | |
| 291 | fn compute_measurements( |
| 292 | &self, |
| 293 | vm_config: &VmConfig, |
| 294 | fw_path: &Path, |
| 295 | kernel_path: &Path, |
| 296 | initrd_path: &Path, |
| 297 | kernel_cmdline: &str, |
| 298 | ) -> Result<TdxMeasurements> { |
| 299 | self.compute_measurement_details( |
| 300 | vm_config, |
| 301 | fw_path, |
| 302 | kernel_path, |
| 303 | initrd_path, |
| 304 | kernel_cmdline, |
| 305 | ) |
| 306 | .map(|details| details.measurements) |
| 307 | } |
| 308 | |
| 309 | fn load_or_compute_measurements( |
| 310 | &self, |
no test coverage detected