Skip to content

Move snapshot file + small reset_vcpu/apply_sregs refactor#1456

Merged
ludfjig merged 2 commits into
hyperlight-dev:mainfrom
ludfjig:move_snapshot
May 14, 2026
Merged

Move snapshot file + small reset_vcpu/apply_sregs refactor#1456
ludfjig merged 2 commits into
hyperlight-dev:mainfrom
ludfjig:move_snapshot

Conversation

@ludfjig
Copy link
Copy Markdown
Contributor

@ludfjig ludfjig commented May 14, 2026

Two pre-OCI refactors with no behavior change. Move sandbox/snapshot.rs into a snapshot/ module directory (more files coming there later), and extract HyperlightVm::apply_sregs from reset_vcpu so it can be reused by upcoming snapshot-restore code.

ludfjig added 2 commits May 14, 2026 13:36
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
@ludfjig ludfjig added the kind/refactor For PRs that restructure or remove code without adding new functionality. label May 14, 2026
@ludfjig ludfjig changed the title Move snapshot Move snapshot file + small sregs refactor May 14, 2026
@ludfjig ludfjig changed the title Move snapshot file + small sregs refactor Move snapshot file + small reset_vcpu/apply_sregs refactor May 14, 2026
@ludfjig ludfjig marked this pull request as ready for review May 14, 2026 21:57
Copy link
Copy Markdown
Contributor

@danbugs danbugs 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 merged commit c7d5978 into hyperlight-dev:main May 14, 2026
40 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/refactor For PRs that restructure or remove code without adding new functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants