hyperlight-dev / hyperlight-dev/hyperlight

Unify mshv and whp partition features

Open
#1,685 1 comment 0 reactions 0 assignees View on GitHub
lifecycle/confirmed
Dominant language
Rust
Stars
4.7k
Forks
208
Avg merge
1d 7h
Merged PRs (30d)
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

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.