Unify mshv and whp partition features

未关闭
#1,685 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

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

调研方向

首先定位 mshv 和 whp 的分区创建路径,并比较每条路径默认启用、禁用或继承了哪些分区功能。使用 LMCE 的行为作为初始比较点;当两条路径都明确提供相同的必需功能集,且不依赖不同的平台默认值时,即视为完成。

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

描述

lifecycle/confirmed

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

主要语言
Rust
星标
4.7k
派生
210
平均合并
1 天 12 小时
30 天内合并 PR
43

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

hyperlight-dev/hyperlight 的其他 Issue

查看 hyperlight-dev/hyperlight 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

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