Skip to content
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.

Make ok subcommand host-architecture specific when not invoked with a specified generation #98

Closed
wants to merge 2 commits into from

Conversation

tylerfanelli
Copy link
Collaborator

When the ok subcommand is invoked without a generation specified as in:

sevctl ok

Instead of testing for SEV, SEV-ES, and SEV-SNP support; check the current processor's generation and test support for that specific generation. For example, if a user is currently on a Rome machine, and sevctl ok is invoked, only test support relevant to Rome processors (i.e. do not test for SNP).

Closes #93

@tylerfanelli
Copy link
Collaborator Author

Note, marking as draft for now as I may have forgotten some ID numbers for processors of each generation.

@tylerfanelli tylerfanelli marked this pull request as draft January 28, 2022 16:12
When the ok command is invoked without a processor generation specified,
probe the host hardware for the current generation of AMD processor and
test for that generation specifically.

Signed-off-by: Tyler Fanelli <[email protected]>
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'sevctl ok' should report problems relevant to the current host hardware as default behaviour
4 participants