Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced uhyve memory detection #1391

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Enhanced uhyve memory detection #1391

wants to merge 1 commit into from

Conversation

jounathaen
Copy link
Member

The current memory detection relies on some moreless undocumented assumptions about how uhyve prepares the memory. However, we do get all the information in the boot-info to determine the memory correctly.

This is one step in enabling "ASLR-like" arbitrary memory locations for hermit (hermit-os/uhyve#725)

@mkroening
Copy link
Member

mkroening commented Sep 24, 2024

Note that hermit-os/uhyve#758 would make detect_from_uhyve inactive.

Copy link
Member

@mkroening mkroening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

detect_from_uhyve is inactive since hermit-os/uhyve#758.

@jounathaen
Copy link
Member Author

Despite this being not relevant for new Uhyve versions, I think this code still contains some improvements to the memory detection code. Is it worth rebasing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants