public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: SEV: Allow for mirroring of SEV-ES VMs
@ 2021-09-21 15:03 Peter Gonda
  2021-09-21 15:03 ` [PATCH 1/2] KVM: SEV: Update svm_vm_copy_asid_from for SEV-ES Peter Gonda
  2021-09-21 15:03 ` [PATCH 2/2] KVM: SEV: Allow launch vmsa from mirror VM Peter Gonda
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Gonda @ 2021-09-21 15:03 UTC (permalink / raw)
  To: kvm
  Cc: Peter Gonda, Marc Orr, Nathan Tempelman, Paolo Bonzini,
	Sean Christopherson, Steve Rutherford, Brijesh Singh,
	linux-kernel

To mirror SEV-ES VMs the mirror VM needs to call LAUNCH_UPDATE_VMSA
before the original VM runs LAUNCH_FINISH. This allows the mirror's
vCPUs to be encrypted into the SEV-ES guests context and measured into
the launch digest.

Peter Gonda (2):
  KVM: SEV: Update svm_vm_copy_asid_from for SEV-ES
  KVM: SEV: Allow launch vmsa from mirror VM

 arch/x86/kvm/svm/sev.c | 35 +++++++++++++++++++++++++++++------
 1 file changed, 29 insertions(+), 6 deletions(-)

Cc: Marc Orr <marcorr@google.com>
Cc: Nathan Tempelman <natet@google.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Sean Christopherson <seanjc@google.com>
Cc: Steve Rutherford <srutherford@google.com>
Cc: Brijesh Singh <brijesh.singh@amd.com>
Cc: kvm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org

-- 
2.33.0.464.g1972c5931b-goog


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-21 19:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-21 15:03 [PATCH 0/2] KVM: SEV: Allow for mirroring of SEV-ES VMs Peter Gonda
2021-09-21 15:03 ` [PATCH 1/2] KVM: SEV: Update svm_vm_copy_asid_from for SEV-ES Peter Gonda
2021-09-21 19:24   ` Nathan Tempelman
2021-09-21 15:03 ` [PATCH 2/2] KVM: SEV: Allow launch vmsa from mirror VM Peter Gonda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox