cloud-hypervisor/arch
Rob Bradford 8e3b351038 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>
(cherry picked from commit 7c3110e6d5)
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2022-12-13 15:12:40 +00:00
..
src arch: x86_64: Use host cpuid information for L2 cache for older KVM 2022-12-13 15:12:40 +00:00
Cargo.toml build: Update dependencies in v28.x stable branch 2022-12-13 14:29:22 +00:00