arch: x86_64: Log the cpuid per vCPU

This will aid debugging issues related to CPUID.

Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
Rob Bradford 2025-01-13 16:41:14 +00:00
parent 293cf90e3d
commit 62303d8c33

View File

@ -887,6 +887,10 @@ pub fn configure_vcpu(
}
}
for c in &cpuid {
info!("{}", c);
}
vcpu.set_cpuid2(&cpuid)
.map_err(|e| Error::SetSupportedCpusFailed(e.into()))?;