Skip to content

Conversation

bssrikanth
Copy link

Add CVM boot test case for AMD SEV, SEV-ES, and SEV-SNP on Milan, Genoa, and Turin hosts

The test verifies:

  • Host SEV, SEV-ES, and SEV-SNP support via /sys/module/kvm_amd/parameters.
  • Guest CVM enablement.
  • QMP query-sev policy and state compliance.

Includes configuration file with parameters for SEV, SEV-ES, and SEV-SNP variants.

Add CVM boot test case for AMD SEV, SEV-ES, and SEV-SNP on
Milan, Genoa, and Turin hosts"

The test verifies:
- Host SEV, SEV-ES, and SEV-SNP support via /sys/module/kvm_amd/parameters.
- Guest CVM enablement.
- QMP query-sev policy and state compliance.

Includes configuration file with parameters for SEV, SEV-ES,
and SEV-SNP variants.

Signed-off-by: Srikanth Aithal <[email protected]>
@bssrikanth
Copy link
Author

@zixi-chen @JinLiul request your review comments.

@JinLiul
Copy link
Contributor

JinLiul commented Jul 31, 2025

@bssrikanth May I ask what's the purpose for this new case? We already have the similiar test case for sev/sev-es/snp.

@bssrikanth
Copy link
Author

Hi @JinLiul,

Compared to existing tests, the test in this PR introduces a unified CVM boot test for AMD SEV, SEV-ES, and SEV-SNP. It includes platform checks and supports use cases where only boot testing is required, without attestation, in the case of SNP. Additionally, it provides a single configuration file that enables flexible parameterization for SEV, SEV-ES, and SEV-SNP variants.
Please let me know your suggestion.

Best regards,
@bssrikanth

@bssrikanth
Copy link
Author

Hello I will be happy to address any review comments with respect to this PR. Thank you in advance :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants