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

Add lib fn for Azure CVM detection #36

Closed
wants to merge 2 commits into from
Closed

Add lib fn for Azure CVM detection #36

wants to merge 2 commits into from

Conversation

mkulke
Copy link
Member

@mkulke mkulke commented Oct 20, 2023

Add lib fn for Azure CVM detection

This is based on an earlier PR to guest components by @jepio

I think it makes sense to define the logic in this crate, but we can also have it guest utitilities

How to use

it's not used anywhere yet, we might want to update coco/guest-components to use this instead

cargo b -p detect-cvm-type

Testing done

Ran the bin on TDX and SNP vms

The az-snp-vtpm crate has been generalized into an az-cvm-vtpm
workspace and extended to support attestation workflows on Azure TDX
CVMs, which are in limited preview at the moment. The attestation
workflow on TDX CVMs has a lot in common with the equivalent process
on SEV-SNP CVMs, so in the future we'll probably want to consolidate
both into a common az-cvm-vtpm crate.

Until TDX CVMs on are generally available on Azure, we'll want to
keep both crates seperate, as the offering is still subject to change.

Signed-off-by: Magnus Kulke <[email protected]>
@mkulke mkulke force-pushed the main branch 2 times, most recently from 5a114c2 to 20fd006 Compare October 20, 2023 22:07
@mkulke mkulke closed this by deleting the head repository Oct 20, 2023
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.

1 participant