[PATCH 0/2] KVM: SVM: Fix SEV-ES intrahost migration

From: Sean Christopherson
Date: Thu Aug 24 2023 - 22:28:09 EST


Fix two fatal bugs in SEV-ES intrahost migration, found by running
sev_migrate_tests (:shocked-pikachu:).

IIRC, for some reason our platforms haven't played nice with SEV-ES on
upstream kernels for a while, i.e. the test hasn't been run as part of my
usual testing.

Sean Christopherson (2):
KVM: SVM: Get source vCPUs from source VM for SEV-ES intrahost
migration
KVM: SVM: Skip VMSA init in sev_es_init_vmcb() if pointer is NULL

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


base-commit: fff2e47e6c3b8050ca26656693caa857e3a8b740
--
2.42.0.rc2.253.gd59a3bf2b4-goog