Skip to content

lib: Removing SEV from Tee Enum#78

Merged
Xynnn007 merged 1 commit into
confidential-containers:mainfrom
arvindskumar99:SEV-deprec
Nov 6, 2025
Merged

lib: Removing SEV from Tee Enum#78
Xynnn007 merged 1 commit into
confidential-containers:mainfrom
arvindskumar99:SEV-deprec

Conversation

@arvindskumar99

Copy link
Copy Markdown

Rust requires all posibilities to be
exhausted when matching an enum, and
the Tee::SEV reference is being removed
in trustee/deps/verifier/src/lib.rs in
PR #984 in the trustee PR. So to avoid a
compilation error, the SEV enum is being
removed.

@tylerfanelli

Copy link
Copy Markdown
Collaborator

Can you add a commit bumping the version to 0.15.0? Since this is a breaking change.

@Xynnn007 Xynnn007 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for this! One comment from my side

Comment thread src/lib.rs
let data = r#"
{
"version": "0.0.0",
"tee": "sev",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could you help to replace sev here to tdx and change line 354 to Tee::Tdx? This unit test aims to test parse request.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Done, readded the test with the changes.

@arvindskumar99 arvindskumar99 force-pushed the SEV-deprec branch 2 times, most recently from bcf684e to aa6914e Compare November 3, 2025 19:55
@arvindskumar99

Copy link
Copy Markdown
Author

Can you add a commit bumping the version to 0.15.0? Since this is a breaking change.

Done

@mythi mythi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

The linter error is not related to this PR but something rust stable with 1.91 triggers.

@ryansavino ryansavino left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@Xynnn007

Xynnn007 commented Nov 5, 2025

Copy link
Copy Markdown
Member

Hi @arvindskumar99 could you take a rebase, which would help to fix the CI?

Rust requires all posibilities to be
exhausted when matching an enum, and
the Tee::SEV reference is being removed
in trustee/deps/verifier/src/lib.rs in
PR #984 in the trustee PR. So to avoid a
compilation error, the SEV enum is being
removed.

Signed-off-by: Arvind Kumar <arvinkum@amd.com>
@arvindskumar99

arvindskumar99 commented Nov 5, 2025

Copy link
Copy Markdown
Author

Hi @arvindskumar99 could you take a rebase, which would help to fix the CI?

@Xynnn007 Just rebased and pushed.

@mythi mythi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@Xynnn007 Xynnn007 merged commit 8069ab9 into confidential-containers:main Nov 6, 2025
3 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.

5 participants