Skip to content

KVM: x86: Fixes for SEV-ES state tracking

Sean Christopherson kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: SVM: Update EFER software model on CR0 trap for SEV-ESarch/x86/kvm/svm/svm.c+5 -31 reply
2/2KVM: x86: Allow userspace to update tracked sregs for protected guestsarch/x86/kvm/x86.c+42 -317 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchTom Lendacky
1/2A-b
2/2A-b

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

Read the v1 thread

Cover letter [PATCH 0/2] KVM: x86: Fixes for SEV-ES state tracking

For SEV-ES guests, Ensure KVM's model of EFER is up-to-date after a CR0 load, and let userspace set tracked state via KVM_SET_SREGS, relying on the vendor code to not propagate the changes to hardware (VMCB in this case).

Peter, patch 02 is different than what I sent to you off list. I'm still 100% convinced that the load_pdptrs() call is flawed, but Maxim has an in-progress series that's tackling the PDPTR save/restore mess.

Sean Christopherson (2):
KVM: SVM: Update EFER software model on CR0 trap for SEV-ES
KVM: x86: Allow userspace to update tracked sregs for protected guests

 arch/x86/kvm/svm/svm.c |  8 +++--
 arch/x86/kvm/x86.c     | 73 ++++++++++++++++++++++++------------------
 2 files changed, 47 insertions(+), 34 deletions(-)
Signature · 1 line
2.31.1.607.g51e8a6a459-goog