Skip to content

Restrict restoring sandboxes to snapshot taken on self #746

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 30, 2025

Conversation

ludfjig
Copy link
Contributor

@ludfjig ludfjig commented Jul 30, 2025

Requires #742

This PR makes sure sandboxes can only be restored to snapshots taken on the same sandbox. This restriction is currently needed because could cause corrupt state otherwise. We will eventually lift this restriction.

If you worry that the u64 will overflow, don't 😎

syntactically
syntactically previously approved these changes Jul 30, 2025
Copy link
Member

@syntactically syntactically left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ludfjig ludfjig force-pushed the restrict_snapshots branch from acef3b9 to 23309b8 Compare July 30, 2025 20:52
@ludfjig ludfjig merged commit f99e33f into hyperlight-dev:main Jul 30, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bugfix For PRs that fix bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants