Skip to content

RFC target/i386: SEV: Add support for enabling VMSA SEV features

Naveen N Rao (AMD) kvm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7target/i386: SEV: Consolidate SEV feature validation to common init pathtarget/i386/sev.c+17 -132 replies
2/7target/i386: SEV: Validate that SEV-ES is enabled when VMSA features are usedtarget/i386/sev.c+6 -01 reply
3/7target/i386: SEV: Add support for enabling debug-swap SEV featureqapi/qom.json target/i386/sev.c target/i386/sev.h+36 -26 replies
4/7target/i386: SEV: Enable use of KVM_SEV_INIT2 for SEV-ES gueststarget/i386/sev.c+1 -20 replies
5/7target/i386: SEV: Add support for enabling Secure TSC SEV featureqapi/qom.json target/i386/sev.c target/i386/sev.h+18 -11 reply
6/7target/i386: SEV: Add support for setting TSC frequency for Secure TSCqapi/qom.json target/i386/sev.c+50 -11 reply
7/7target/i386: SEV: Add support for enabling Secure AVIC SEV featureqapi/qom.json target/i386/sev.c target/i386/sev.h+18 -11 reply

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchNikunj A DadhaniaTom Lendacky
1/7
2/7R-b R-b
3/7
4/7R-b
5/7
6/7
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/7] target/i386: SEV: Add support for enabling VMSA SEV features

This series adds support for enabling VMSA SEV features for SEV-ES and SEV-SNP guests. Since that is already supported for IGVM files, some of that code is moved to generic path and reused.

Debug-swap is already supported in KVM today, while patches for enabling Secure TSC and Secure AVIC have been posted.

- Naveen

Naveen N Rao (AMD) (7):
target/i386: SEV: Consolidate SEV feature validation to common init
path
target/i386: SEV: Validate that SEV-ES is enabled when VMSA features
are used
target/i386: SEV: Add support for enabling debug-swap SEV feature target/i386: SEV: Enable use of KVM_SEV_INIT2 for SEV-ES guests target/i386: SEV: Add support for enabling Secure TSC SEV feature target/i386: SEV: Add support for setting TSC frequency for Secure TSC target/i386: SEV: Add support for enabling Secure AVIC SEV feature

 target/i386/sev.h |   5 +-
 target/i386/sev.c | 139 +++++++++++++++++++++++++++++++++++++++++-----
 qapi/qom.json     |  18 +++++-
 3 files changed, 144 insertions(+), 18 deletions(-)

base-commit: 6a9fa5ef3230a7d51e0d953a59ee9ef10af705b8

Signature · 1 line
2.50.1