feat(monitor): add initial support for embedded hyperlight VMM (#140)#632
Conversation
✅ Deploy Preview for urunc canceled.
|
|
Hello @imshubham22apr-gif , the testing methods you provide in the description are not sufficient. Please run an end-to-end test targeting hyperlight. Also please read the contribution guide. |
Update on E2E Testing :- I have successfully set up the environment with Docker, containerd, nerdctl, and crictl. Unit Tests :- Passed successfully. Logs for reference :- Unit Tests: PASS :- TestHyperlightBuildExecCmd |
This PR introduces initial support for the Hyperlight embedded VMM. Because Hyperlight is embedded directly within the application binary, this implementation avoids external process orchestration (like QEMU or Firecracker) and instead provides a lightweight monitor that executes the unikernel binary directly with its provided arguments.
Related issues
How was this tested?
pkg/unikontainers/hypervisors/hyperlight_test.goto verify that the execution command is correctly constructed both with and without additional command-line arguments.$env:GOOS='linux'; go build ./....go fmtandgo vetto ensure code quality and adherence to Go standards.LLM usage
Checklist
go vet).