hyperlight-dev / hyperlight-dev/hyperlight

Factor out handling of architecture-dependent snapshot state

Đang mở
#1,694 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
lifecycle/confirmed
Ngôn ngữ chính
Rust
Star
4.7k
Fork
208
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
47

Mô tả

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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
rust
Lĩnh vực
operating-systems
Loại issue
Tái cấu trúc
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.