hypervisor: improve error chain

On-behalf-of: SAP philipp.schuster@sap.com
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This commit is contained in:
Philipp Schuster
2026-06-02 06:37:57 +02:00
committed by Rob Bradford
parent aa898db8d7
commit b4c37def26
3 changed files with 11 additions and 5 deletions

View File

@@ -299,7 +299,7 @@ pub enum HypervisorCpuError {
/// Failed to initialize PMU
///
#[error("Failed to initialize PMU")]
InitializePmu,
InitializePmu(#[source] anyhow::Error),
#[cfg(target_arch = "x86_64")]
///
/// Error getting TSC frequency