docs: add no-TEE swtpm development guide#803
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds documentation for developing and testing dstack on machines without TEE hardware by using --no-tee plus swtpm for persistent TPM-backed keys, and links the new guide from the root README.
Changes:
- Add a new end-to-end guide for building a development guest image and running the VMM in no-TEE mode with
swtpmpersistence checks. - Document an optional nested-KVM (libvirt) lab setup for Ubuntu 24.04.
- Link the new guide from
README.mdfor discoverability.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| README.md | Adds a top-level link to the new no-TEE + swtpm development guide. |
| docs/development-without-tee.md | New guide covering build, setup, launch, and persistence verification in no-TEE mode. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
kvinwang
force-pushed
the
docs/no-tee-swtpm-development
branch
from
July 20, 2026 10:34
0385b70 to
2604716
Compare
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
kvinwang
enabled auto-merge
July 20, 2026 10:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--no-teeandkey_provider=tpmValidation
Tested end-to-end on Ubuntu 24.04 with KVM, QEMU 8.2.2, and swtpm 0.7.3:
Boot Progress: doneencryption=true, filesystem=Zfs/dev/mapper/dstack_data_diskusing the detached LUKS2 headergit diff --checkpasses.