Skip to content

feat: Add ciphertext-hiding test to snphost ok - #199

Merged
tylerfanelli merged 1 commit into
virtee:mainfrom
DGonzalezVillal:ciphertext
Oct 30, 2026
Merged

tylerfanelli merged 1 commit into
virtee:mainfrom
DGonzalezVillal:ciphertext

Conversation

@DGonzalezVillal

Copy link
Copy Markdown
Member

Add ok test for snp feature ciphertext hiding

tylerfanelli
tylerfanelli previously approved these changes Oct 23, 2026

@markg-github markg-github left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll finish reviewing later. Claude found the minor style thing in the inline comment.

Comment thread src/ok/mod.rs Resolved
Comment thread src/ok/mod.rs Resolved

@amd-kkin amd-kkin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@markg-github markg-github left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread docs/troubleshooting.md Resolved
Comment thread docs/troubleshooting.md Resolved
Check SNP_PLATFORM_STATUS for ciphertext hiding capability and enablement when optional features are requested.
The enable bit is set during SEV init only when kvm_amd is loaded with a nonzero ciphertext_hiding_asids value, so that status covers kernel enablement.
Document the BIOS setting, kernel parameter, and SNP ABI reference. Preserve the platform-status error chain so a failure to open /dev/sev recommends running with sudo.

Signed-off-by: DGonzalezVillal <Diego.GonzalezVillalobos@amd.com>
@tylerfanelli
tylerfanelli merged commit 4953771 into virtee:main Oct 30, 2026
11 checks passed
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.

4 participants