Skip to content

Flush Firecracker guests during graceful ARM64 shutdown - #533

Merged
hbrodin merged 2 commits into
mainfrom
fix/issue-528
Oct 5, 2026
Merged

hbrodin merged 2 commits into
mainfrom
fix/issue-528

Conversation

@ESultanik

@ESultanik ESultanik commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Request a guest reboot over SSH and wait for Firecracker to exit. Bound the graceful attempt to ten seconds, reap the SSH client, and retain SIGTERM/SIGKILL fallback when the guest does not stop. The command uses no forwarded guest environment.

This preserves recent filesystem changes on ARM64, where Firecracker rejects the CtrlAltDel API action. Add process-lifetime tests and an integration check for recent file writes and deletions.

Closes #528.

Stacked on #532, the disk-repair prerequisite. Merge #532 first.

Validation: local workspace tests, format, clippy, and normal pre-commit hooks passed. The unchanged shutdown implementation is included in the updated #513 candidate, which passed full Lima integration (490 passed) and full Firecracker integration (499 passed), including shutdown persistence checks.

@ESultanik
ESultanik requested a review from hbrodin October 2, 2026 01:56
@ESultanik
ESultanik added this pull request to stack #534 October 2, 2026 01:57
Base automatically changed from fix/issue-529 to main October 5, 2026 18:29

@hbrodin hbrodin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The shutdown change looks good. Evan, please update the two Firecracker stop descriptions in docs/backends.md to say guest reboot over SSH before merging.

Comment thread src/vm.rs
@hbrodin
hbrodin merged commit 27cb115 into main Oct 5, 2026
10 checks passed
@hbrodin
hbrodin deleted the fix/issue-528 branch October 5, 2026 20:56
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.

Request graceful Firecracker shutdown on ARM64

2 participants