[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210507165947.2502412-1-seanjc@google.com>
Date: Fri, 7 May 2021 09:59:45 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: Sean Christopherson <seanjc@...gle.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, Peter Gonda <pgonda@...gle.com>,
Maxim Levitsky <mlevitsk@...hat.com>
Subject: [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(-)
--
2.31.1.607.g51e8a6a459-goog
Powered by blists - more mailing lists