cloud-hypervisor/arch/src/x86_64
Rob Bradford 7c3110e6d5 arch: x86_64: Use host cpuid information for L2 cache for older KVM
If the KVM version is too old (pre Linux 5.7) then fetch the CPUID
information from the host and use that in the guest. We prefer the KVM
version over the host version as that would use the CPUID for the
running CPU vs the CPU that runs this code which might be different due
to a hybrid topology.

Fixes: #4918

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2022-11-22 09:32:30 +01:00
..
tdx arch: modify or add safety comments 2022-11-18 12:50:01 +00:00
interrupts.rs hypervisor x86: provide a generic LapicState structure 2022-07-19 09:38:38 +01:00
layout.rs arch: Add TPM Address ranges to layouts 2022-11-15 16:42:21 +00:00
mod.rs arch: x86_64: Use host cpuid information for L2 cache for older KVM 2022-11-22 09:32:30 +01:00
mpspec.rs arch: Move mpspec to arch crate and simplify 2021-05-06 19:42:52 +01:00
mptable.rs arch: modify or add safety comments 2022-11-18 12:50:01 +00:00
regs.rs misc: Fix clippy issues 2022-11-02 09:41:43 +01:00
smbios.rs arch: modify or add safety comments 2022-11-18 12:50:01 +00:00