mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-26 06:25:24 +00:00
8e3b351038
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 7c3110e6d59340489a28b38cdecd43427a222b1b) Signed-off-by: Rob Bradford <robert.bradford@intel.com>