Skip to content

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?

@jounathaen jounathaen closed this Jun 16, 2025
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.

3 participants