mirror of
https://github.com/kvcache-ai/AgentENV.git
synced 2026-11-05 01:17:36 +00:00
[PR #358] [MERGED] feat: integrate nested KVM and support legacy v9 snapshot recovery #377
Labels
No labels
bug
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/AgentENV#377
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/AgentENV/pull/358
Author: @Hygge-Gezelligheid
Created: 10/10/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @yingdi-shan
Base:
main← Head:agent/nestedvirt-opt-in-20261010📝 Commits (3)
73b2886feat: integrate nested KVM runtime and end-to-end tests2e2dee1fix: enable legacy v9 snapshot recovery with the v1000 runtime87c512efeat(kernel): default KVM to prebuilt Linux 6.18📊 Changes
7 files changed (+1001 additions, -117 deletions)
View changed files
📝
.github/workflows/integration-tests.yml(+17 -0)📝
config/deps_manifest.toml(+4 -4)📝
docs/src/internals/sandbox-testing.md(+75 -0)➕
scripts/tests/nestedvirt-guest.sh(+45 -0)➕
scripts/tests/nestedvirt-smoke.py(+502 -0)📝
src/sandbox/firecracker/sandbox.rs(+41 -0)📝
tests/integration/orchestrator.rs(+317 -113)📄 Description
What
Integrate the nested-KVM runtime and prebuilt Linux 6.18 kernels, and enable legacy v9 snapshot recovery with the configured Firecracker.
Why
After upgrading the runtime, existing snapshots should remain recoverable using the configured Firecracker, consistent with the prewarmed process pool.
Related issue
Companion runtime: Firecracker #27.
Scope and non-goals
Runtime selection changes apply to the shared snapshot restore path. Default runtime and kernel upgrades apply to KVM on x86_64 and aarch64; PVM defaults remain unchanged.
Design and behavior changes
1.15.1-patch-v1to1.15.1-patch-v2, including its matching helper.Compatibility and operations
Restart AgentENV after upgrading. The KVM runtime reads v9 snapshots and writes v1000; old runtimes cannot read v1000. Existing snapshots retain their captured kernel and boot arguments. Fresh guests use the configured kernel.
Public APIs and the paused-record schema remain unchanged. Runtime archives and both guest kernels are available in the patch-v2 release. Installations with cached historical pre-fault patch-v2 binaries must replace that cache.
Validation
Risks and reviewer notes
Three commits: runtime and test integration; legacy v9 recovery; Linux 6.18 KVM defaults. Review runtime selection in
src/sandbox/firecracker/sandbox.rsand dependency defaults inconfig/deps_manifest.toml.Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.