Skip to content

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