guest: support development-only no-TEE VMs#766
Open
h4x3rotab wants to merge 2 commits into
Open
Conversation
h4x3rotab
force-pushed
the
agent/dev-no-tee
branch
3 times, most recently
from
July 11, 2026 03:41
7fe2dfc to
1f07258
Compare
h4x3rotab
force-pushed
the
agent/dev-no-tee
branch
3 times, most recently
from
July 13, 2026 10:45
2b19904 to
7433759
Compare
h4x3rotab
marked this pull request as ready for review
July 13, 2026 10:45
h4x3rotab
force-pushed
the
agent/dev-no-tee
branch
from
July 14, 2026 04:16
7433759 to
d8e855d
Compare
h4x3rotab
marked this pull request as draft
July 14, 2026 05:59
h4x3rotab
force-pushed
the
agent/dev-no-tee
branch
4 times, most recently
from
July 14, 2026 08:25
220f2e4 to
9096a6e
Compare
h4x3rotab
force-pushed
the
agent/dev-no-tee
branch
from
July 14, 2026 08:48
9096a6e to
a65abb0
Compare
h4x3rotab
marked this pull request as ready for review
July 15, 2026 02:26
Collaborator
|
As an alternative approach for no-TEE development VMs, I opened #780. Instead of branching core guest security paths on a Would you prefer we pursue #780 over this PR, or is there something in #766 that still works better for your use case? Happy to discuss either way. |
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
KeyProvider::Nonepath for temporary local app keys and reject certificate and attestation APIsfw_cfgwithout changing the image command lineCONTRIBUTING.mdSafety
No-TEE mode requires
key_provider=noneand explicitly rejects gateway use and TEE requirements. TEE mode cannot change after VM creation, and no-TEE guests always boot with storage encryption disabled. Normal TEE boots retain the existing fatal check when no TEE guest device is available.Tests
cargo test -p dstack-vmm -p dstack-util -p dstack-guest-agent -p cert-clientfromdstack/cargo clippy -p cert-client -p dstack-guest-agent -p dstack-util -p dstack-vmm --all-targetsfromdstack/npm run buildindstack/vmm/uibash -n os/common/rootfs/dstack-prepare.sh-fw_cfg name=opt/dstack/no-tee,string=1python3 -m py_compile dstack/vmm/src/vmm-cli.pyprek run --files CONTRIBUTING.md os/common/rootfs/dstack-prepare.sh