hyperlight-dev / hyperlight-dev/hyperlight

Unify mshv and whp partition features

Đang mở
#1,685 1 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 when creating a partition we depend a lot on default partition features for both whp and mshv, which can result in different features being exposed in the guest (linux and windows apis are different and enables/disables different things). We should:

1. Make sure we only enable want we need, disable the rest, and probably not rely on default features
2. Make sure mshv and whp do the same thing

======

Examples:

LMCE is unconditionally disabled on whp, but is enabled on mshv (if enabled in firmware), unsure if this can expose MCG_EXT_CTL

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

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

Hướng nghiên cứu

Start by locating the partition-creation paths for mshv and whp and compare which partition features each path enables, disables, or inherits by default. Use the LMCE behavior as an initial comparison point; done means both paths explicitly expose the same required feature set without relying on differing platform defaults.

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.