Skip to content

vmm: Make sev_snp depend on igvm#8364

Open
rhakobyan wants to merge 1 commit into
cloud-hypervisor:mainfrom
rhakobyan:vmm_sev_snp_igvm_dependency_fix
Open

vmm: Make sev_snp depend on igvm#8364
rhakobyan wants to merge 1 commit into
cloud-hypervisor:mainfrom
rhakobyan:vmm_sev_snp_igvm_dependency_fix

Conversation

@rhakobyan

Copy link
Copy Markdown
Contributor

Currently both kvm and mshv require an IGVM file to boot a SEV-SNP VM. This is already configured in the top-level cloud-hypervisor Cargo.toml where sev_snp depends on igvm.

Add a similar dependency in the vmm crate which helps simplify some of the in-code cfg blocks by removing the ones that are within a sev_snp cfg block.

@phip1611

Copy link
Copy Markdown
Member

I think this makes sense - thanks!

@rhakobyan rhakobyan force-pushed the vmm_sev_snp_igvm_dependency_fix branch from 0f950d7 to 9e022bb Compare June 10, 2026 15:38
Currently both kvm and mshv require an IGVM file to boot a SEV-SNP VM.
This is already configured in the top-level cloud-hypervisor
Cargo.toml where sev_snp depends on igvm.

Add a similar dependency in the vmm crate which helps simplify some of
the in-code cfg blocks by removing the ones that are within a sev_snp
cfg block.

Signed-off-by: Ruben Hakobyan <hruben@meta.com>
@rhakobyan rhakobyan force-pushed the vmm_sev_snp_igvm_dependency_fix branch from 9e022bb to 141f958 Compare June 10, 2026 15:44
@rhakobyan

Copy link
Copy Markdown
Contributor Author

The aarch64 CI failure looks unrelated:

...
[ubi][ERROR] error requesting https://api.github.com/repos/cross-rs/cross/releases/assets/94307576: 500 Internal Server Error

@rhakobyan rhakobyan marked this pull request as ready for review June 10, 2026 15:53
@rhakobyan rhakobyan requested a review from a team as a code owner June 10, 2026 15:53
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.

4 participants