mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-20 11:35:21 +00:00
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:
parent
293cf90e3d
commit
62303d8c33
@ -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()))?;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user