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 -- 2.50.1