lkml.org 
[lkml]   [2021]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[PATCH 0/2] KVM: x86: Fixes for SEV-ES state tracking
From
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(-)

--
2.31.1.607.g51e8a6a459-goog

\
 
 \ /
  Last update: 2021-05-07 19:01    [W:0.076 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site