Re: [PATCH v2 14/25] KVM: VMX: Disable FRED if FRED consistency checks fail

2024-06-13 Thread Sean Christopherson
On Tue, Apr 30, 2024, Chao Gao wrote: > On Thu, Feb 08, 2024 at 01:26:34AM +0800, Xin Li wrote: > >Refuse to virtualize FRED if FRED consistency checks fail. > > After reading this, I realize some consistency checks are missing in > setup_vmcs_config(). Actually Sean requested some infrastructure

Re: [PATCH v2 14/25] KVM: VMX: Disable FRED if FRED consistency checks fail

2024-04-30 Thread Chao Gao
On Thu, Feb 08, 2024 at 01:26:34AM +0800, Xin Li wrote: >Refuse to virtualize FRED if FRED consistency checks fail. After reading this, I realize some consistency checks are missing in setup_vmcs_config(). Actually Sean requested some infrastructure for vmcs_entry_exit_pairs to deal with secondary

[PATCH v2 14/25] KVM: VMX: Disable FRED if FRED consistency checks fail

2024-02-07 Thread Xin Li
Refuse to virtualize FRED if FRED consistency checks fail. Suggested-by: Chao Gao Signed-off-by: Xin Li --- arch/x86/kvm/vmx/capabilities.h | 10 ++ arch/x86/kvm/vmx/vmx.c | 2 ++ 2 files changed, 12 insertions(+) diff --git a/arch/x86/kvm/vmx/capabilities.h b/arch/x86/kvm/vm