hyperlight-dev / hyperlight-dev/hyperlight
Unify mshv and whp partition features
- Langage dominant
- Rust
- Étoiles
- 4.7k
- Forks
- 208
- Merge moyen
- 1 j 7 h
- PR mergées (30 j)
- 47
Description
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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- rust
- Domaine
- operating-systems
- Type d'issue
- Refactorisation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100