lkml.org 
[lkml]   [2021]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v6 0/3] CET fix patches for nested guest
Date
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

\
 
 \ /
  Last update: 2021-04-21 10:55    [W:0.040 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site