Skip to content

Conversation

@ludfjig
Copy link
Contributor

@ludfjig ludfjig commented Nov 6, 2025

Remove MemoryManager and FunctionRegistry fields from drivers, passing them as parameters instead. This eliminates duplicate ownership since they are already part of the sandbox itself, simplifies the ownership model and gets rid of a complete category of possible errors.

Easiest reviewed commit by commit

@ludfjig ludfjig added kind/enhancement For PRs adding features, improving functionality, docs, tests, etc. kind/refactor For PRs that restructure or remove code without adding new functionality. and removed kind/enhancement For PRs adding features, improving functionality, docs, tests, etc. labels Nov 6, 2025
@ludfjig ludfjig changed the title Deduplicate mem mgr and host functinos from HyperlightVm to remove possible errors Deduplicate mem mgr and host functinos from HyperlightVm to remove category of possible errors Nov 6, 2025
@ludfjig ludfjig changed the title Deduplicate mem mgr and host functinos from HyperlightVm to remove category of possible errors Deduplicate mem mgr and host functinos from hv drivers Nov 20, 2025
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
@ludfjig ludfjig changed the title Deduplicate mem mgr and host functinos from hv drivers Deduplicate mem mgr and host functions from hv drivers Nov 20, 2025
@ludfjig ludfjig marked this pull request as ready for review November 20, 2025 23:35
jsturtevant
jsturtevant previously approved these changes Nov 21, 2025
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
@ludfjig ludfjig merged commit 2b3f386 into hyperlight-dev:main Nov 21, 2025
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/refactor For PRs that restructure or remove code without adding new functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants