Provide SEV-ES/SEV-SNP support for decrypting the VMSA
Status from this message: Applied to kvm-x86 svm, with Tom's fixups. Please double check I didn't botch
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | KVM: SVM: Decrypt SEV VMSA in dump_vmcb() if debugging is enabledarch/ arch/ arch/ | +122 | 6 replies | |
| 2/5 | KVM: SVM: Dump guest register state in dump_vmcb()arch/ | +53 | 0 replies | |
| 3/5 | KVM: SVM: Add the type of VM for which the VMCB/VMSA is being dumpedarch/ | +7 | 0 replies | |
| 4/5 | KVM: SVM: Include the vCPU ID when dumping a VMCBarch/ | +2 | 0 replies | |
| 5/5 | KVM: SVM: Add a mutex to dump_vmcb() to prevent concurrent outputarch/ | +5 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Borislav Petkov (AMD) | Kim Phillips |
|---|---|---|
| Series | A-b | T-b |
| 1/5 | ||
| 2/5 | ||
| 3/5 | ||
| 4/5 | ||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] Provide SEV-ES/SEV-SNP support for decrypting the VMSA
This series adds support for decrypting an SEV-ES/SEV-SNP VMSA in dump_vmcb() when the guest policy allows debugging.
It also contains some updates to dump_vmcb() to dump additional guest register state, print the type of guest, print the vCPU id, and adds a mutex to prevent interleaving of the dump_vmcb() messages when multiple vCPU threads call dump_vmcb(). These last patches can be dropped if not desired.
The series is based off of and tested against the KVM tree:
https://git.kernel.org/pub/scm/virt/kvm/kvm.git next
e335300095c3 ("Merge tag 'loongarch-kvm-6.15' of git://git...")
Tom Lendacky (5):
KVM: SVM: Decrypt SEV VMSA in dump_vmcb() if debugging is enabled
KVM: SVM: Dump guest register state in dump_vmcb()
KVM: SVM: Add the type of VM for which the VMCB/VMSA is being dumped
KVM: SVM: Include the vCPU ID when dumping a VMCB
KVM: SVM: Add a mutex to dump_vmcb() to prevent concurrent output
arch/x86/kvm/svm/sev.c | 98 ++++++++++++++++++++++++++++++++++++++++++ arch/x86/kvm/svm/svm.c | 80 +++++++++++++++++++++++++++++++++- arch/x86/kvm/svm/svm.h | 11 +++++ 3 files changed, 187 insertions(+), 2 deletions(-)
base-commit: e335300095c370149aada9783df2d7bf5b0db7c7
Signature · 1 line
2.46.2