hyperlight-dev / hyperlight-dev/hyperlight
Unify mshv and whp partition features
- 主要语言
- Rust
- 星标
- 4.7k
- 派生
- 208
- 平均合并
- 1 天 7 小时
- 30 天内合并 PR
- 48
描述
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
贡献指南
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- rust
- 领域
- operating-systems
- Issue 类型
- 重构
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100