Skip to content

CET fix patches for nested guest

Yang Weijiang kvm lkml 7 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 0 repliesNew
  2. v53 patches 2 repliesSuperseded
  3. v43 patches 5 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v3 posting 2/23 patches8 repliesSuperseded
v3 posting 1/21 patch2 repliesSuperseded
v21 patch5 repliesSuperseded
v11 patch2 repliesSuperseded

Changes in v6 from the cover letter

- Add check for nested vm_entry_controls without VM_ENTRY_LOAD_CET_STATE set to snapshot L1's CET states for L2.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: nVMX: Sync L2 guest CET states between L1/L2arch/x86/kvm/cpuid.c arch/x86/kvm/vmx/nested.c arch/x86/kvm/vmx/vmx.h+34 -10 replies
2/3KVM: nVMX: Set X86_CR4_CET in cr4_fixed1_bits if CET IBT is enabledarch/x86/kvm/vmx/vmx.c+1 -00 replies
3/3KVM: nVMX: Add CET entry/exit load bits to evmcs unsupported listarch/x86/kvm/vmx/evmcs.c arch/x86/kvm/vmx/evmcs.h+6 -40 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchSean ChristophersonVitaly Kuznetsov
1/3
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/3] CET fix patches for nested guest

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(-)
Signature · 1 line
2.26.2