Skip to content

Feature Request: Add Support for AMD SEV-SNP #443

@kvinwang

Description

@kvinwang

Following the merge of PR #437, dstack now supports a flexible attestation format designed for multi-platform compatibility. While our previous implementation was limited to Intel TDX, the new format paves the way for supporting other TEE technologies.

Implementation Guide

Here is a high-level implementation path outlined:

1. Update Attestation Data Structures

  • In dstack-attest/src/attestation.rs, introduce a DstackAmdSevSnp variant to both the AttestationMode and AttestationQuote enums.

2. Implement Quote Logic

  • Implement the quote generation and verification logic for the new DstackAmdSevSnp variant.
  • Ensure this mirrors the logic currently used where AttestationMode::DstackTdx is referenced.

3. Configure VMM & QEMU

  • In vmm/src/app/qemu.rs, Update dstack-vmm to handle QEMU launch arguments specific to AMD SEV-SNP.
  • Add a platform configuration entry to vmm.toml to explicitly select the TEE backend, or implement platform auto-detection.

🤝 Call for Contributors

We would love community help with this feature! If you are interested in dstack, contributions are welcome.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions