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
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue