Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tee: Remove legacy AMD-SEV module #271

Merged
merged 1 commit into from
Feb 27, 2025
Merged

Conversation

tylerfanelli
Copy link
Member

To prepare for the updating of the Rust SEV library to 5.0.0, remove the legacy SEV/SEV-ES module. AMD has all but deprecated legacy SEV, and has instead opted to push all new development to SEV-SNP.

As such, the SEV library is intending to deprecate legacy SEV.

@tylerfanelli
Copy link
Member Author

The clippy warnings are handled by #272. Once that is merged, this can be rebased.

@tylerfanelli tylerfanelli marked this pull request as draft February 25, 2025 01:05
To prepare for the updating of the Rust SEV library to 5.0.0, remove the
legacy SEV/SEV-ES module. AMD has all but deprecated legacy SEV, and has
instead opted to push all new development to SEV-SNP.

As such, the SEV library is intending to deprecate legacy SEV.

Signed-off-by: Tyler Fanelli <[email protected]>
@tylerfanelli tylerfanelli marked this pull request as ready for review February 25, 2025 19:09
Copy link
Member

@jakecorrenti jakecorrenti left a comment

Choose a reason for hiding this comment

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

Do you plan on removing the SEV-related code in init/ as well?

Other than that, LGTM. Just a non-blocking question below.

Comment on lines -472 to +442
sev: Option<AmdSev>,
tee: Option<AmdSnp>,
Copy link
Member

Choose a reason for hiding this comment

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

Not blocking, but I'm wondering if this should be named snp: ...? It's going to get re-named once TDX and CCA land anyways

Copy link
Member Author

Choose a reason for hiding this comment

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

Yea, will rename.

@tylerfanelli
Copy link
Member Author

Do you plan on removing the SEV-related code in init/ as well?

That is all SEV-SNP specific.

@slp
Copy link
Contributor

slp commented Feb 27, 2025

It's kind of sad to see this go, but I guess it's for the better.

@slp slp merged commit b8c9f01 into containers:main Feb 27, 2025
5 checks passed
@tylerfanelli tylerfanelli deleted the sev-remove branch March 3, 2025 19:39
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.

3 participants