Re: [PATCH v3 05/27] KVM: VMX: Disable FRED if FRED consistency checks fail

From: Xin Li
Date: Tue Nov 26 2024 - 13:53:58 EST


On 11/26/2024 7:32 AM, Borislav Petkov wrote:
On Mon, Sep 30, 2024 at 10:00:48PM -0700, Xin Li (Intel) wrote:
+static inline bool cpu_has_vmx_fred(void)
+{
+ /* No need to check FRED VM exit controls. */
+ return boot_cpu_has(X86_FEATURE_FRED) &&

For your whole patchset:

s/boot_cpu_has/cpu_feature_enabled/g


Already done based on your reply to other patches.

There is a lot of boot_cpu_has() in arch/x86/kvm/, and someone needs to
replace them :-P