mirror of
https://github.com/kvcache-ai/firecracker.git
synced 2026-11-05 01:17:43 +00:00
[PR #21] feat: complete KVM pre-fault stats #21
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/firecracker#21
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/firecracker/pull/21
Author: @Hygge-Gezelligheid
Created: 8/30/2026
Status: 🔄 Open
Base:
v1.15.1-patch← Head:agent/v1.15.1-patch-v2📝 Commits (6)
96ea95frelease: prepare v1.15.1-patch-v291d2509feat: expose guest physical addresses for memory regions1881cbdchore: add aarch64 v2 candidate9f50bedchore: remove aarch64 candidate artifact9cc0a00feat: report complete KVM pre-fault stats65ea6cefeat: expose resident memory ranges📊 Changes
18 files changed (+525 additions, -94 deletions)
View changed files
📝
CHANGELOG.md(+10 -0)📝
Cargo.lock(+6 -6)📝
src/cpu-template-helper/Cargo.toml(+1 -1)📝
src/firecracker/Cargo.toml(+1 -1)📝
src/firecracker/src/api_server/parsed_request.rs(+40 -1)📝
src/firecracker/swagger/firecracker.yaml(+156 -5)📝
src/jailer/Cargo.toml(+1 -1)📝
src/rebase-snap/Cargo.toml(+1 -1)📝
src/seccompiler/Cargo.toml(+1 -1)📝
src/snapshot-editor/Cargo.toml(+1 -1)📝
src/vmm/src/lib.rs(+21 -15)📝
src/vmm/src/persist.rs(+26 -8)📝
src/vmm/src/rpc_interface.rs(+38 -3)📝
src/vmm/src/vstate/memory.rs(+22 -0)📝
src/vmm/src/vstate/prefault.rs(+130 -33)📝
src/vmm/src/vstate/vcpu.rs(+19 -12)📝
src/vmm/src/vstate/vm.rs(+40 -1)📝
src/vmm/tests/integration_tests.rs(+11 -4)📄 Description
Summary
Complete the paused-only KVM pre-fault path with synchronous, verifiable completion statistics.
KVM_PRE_FAULT_MEMORYuntil every submitted range reports zero remaining bytes.Validation
Passed on the AgentENV development host:
cargo test -p vmm vstate::prefault --lib(9 passed)cargo test -p firecracker api_server::parsed_request::tests::test_put_pre_fault_memory_route --libcargo fmt --checkcould not be used as a validation signal on that host because its installed toolchain reformats unrelated baseline files.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.