hyperlight-dev / hyperlight-dev/hyperlight

Factor out handling of architecture-dependent snapshot state

未关闭
#1,694 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
lifecycle/confirmed
主要语言
Rust
星标
4.7k
派生
208
平均合并
1 天 7 小时
30 天内合并 PR
47

描述

Currently, there are no architecture-dependent hooks that can add things to snapshot/restore state. Because of this, as of #991, all of the ostensibly architecture-independent code on the snapshot save/restore path ends up with a bunch of `#[cfg(target_arch = "x86_64")]` state threaded through it. It would be nice to factor that out into something that makes it easier to add architecture-dependent state.

(This issue extracted from a comment on #991: https://github.com/hyperlight-dev/hyperlight/pull/991/changes#r3625046429)

贡献指南

打开贡献指南

调研方向

Start with the snapshot save/restore path discussed in issue #1694 and the extracted context from pull request #991. Trace where #[cfg(target_arch = "x86_64")] state is threaded through architecture-independent code, then identify the hooks needed for architecture-dependent snapshot state. Done means the existing behavior is preserved while future architecture-specific state can be added without repeating that threading.

由索引模型根据 Issue 内容生成。

评估

技术栈
rust
领域
operating-systems
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。