Messages in this thread | | | From | Yang Weijiang <> | Subject | [PATCH v6 0/3] CET fix patches for nested guest | Date | Wed, 21 Apr 2021 17:05:49 +0800 |
| |
This patch series is to fix a few issues found during patch review and testing on Linux, also including a patch to explictly disable CET support in nested guest over Hyper-V(s).
change in v6: - Add check for nested vm_entry_controls without VM_ENTRY_LOAD_CET_STATE set to snapshot L1's CET states for L2.
Yang Weijiang (3): KVM: nVMX: Sync L2 guest CET states between L1/L2 KVM: nVMX: Set X86_CR4_CET in cr4_fixed1_bits if CET IBT is enabled KVM: nVMX: Add CET entry/exit load bits to evmcs unsupported list
arch/x86/kvm/cpuid.c | 1 - arch/x86/kvm/vmx/evmcs.c | 4 ++-- arch/x86/kvm/vmx/evmcs.h | 6 ++++-- arch/x86/kvm/vmx/nested.c | 31 +++++++++++++++++++++++++++++++ arch/x86/kvm/vmx/vmx.c | 1 + arch/x86/kvm/vmx/vmx.h | 3 +++ 6 files changed, 41 insertions(+), 5 deletions(-)
-- 2.26.2
| |