banger/internal/daemon
Thales Maciel 08ef706e3f
Add vsock-backed SSH session reminders
Remind users when a VM is still running after 	hanger vm ssh exits instead of silently dropping them back to the host shell.\n\nAttach a Firecracker vsock device to each VM, persist the host vsock path/CID,\nadd a new guest-side banger-vsock-pingd responder to the runtime bundle and both\nimage-build paths, and expose a vm.ping RPC that the CLI and TUI call after SSH\nreturns. Doctor and start/build preflight now validate the helper plus\n/dev/vhost-vsock so the feature fails early and clearly.\n\nValidated with go mod tidy, bash -n customize.sh, git diff --check, make build,\nand GOCACHE=/tmp/banger-gocache go test ./... outside the sandbox because the\ndaemon tests need real Unix/UDP sockets. Rebuild the image/rootfs used for new\nVMs so the guest ping service is present.
2026-03-18 20:14:51 -03:00
..
capabilities.go Refactor VM lifecycle around capabilities 2026-03-18 19:28:26 -03:00
capabilities_test.go Refactor VM lifecycle around capabilities 2026-03-18 19:28:26 -03:00
daemon.go Add vsock-backed SSH session reminders 2026-03-18 20:14:51 -03:00
daemon_test.go Replace mapdns with daemon DNS 2026-03-17 15:49:35 -03:00
doctor.go Add vsock-backed SSH session reminders 2026-03-18 20:14:51 -03:00
imagebuild.go Add vsock-backed SSH session reminders 2026-03-18 20:14:51 -03:00
imagebuild_test.go Add vsock-backed SSH session reminders 2026-03-18 20:14:51 -03:00
images.go Move avoidable daemon shell-outs into Go 2026-03-17 17:13:07 -03:00
logger.go Add structured daemon lifecycle logs 2026-03-16 16:16:28 -03:00
logger_test.go Add vsock-backed SSH session reminders 2026-03-18 20:14:51 -03:00
nat.go Move helper NAT management into Go 2026-03-17 15:07:49 -03:00
nat_test.go Move helper NAT management into Go 2026-03-17 15:07:49 -03:00
preflight.go Add vsock-backed SSH session reminders 2026-03-18 20:14:51 -03:00
snapshot.go Harden VM stop cleanup for stale snapshots 2026-03-18 12:28:15 -03:00
snapshot_test.go Harden VM stop cleanup for stale snapshots 2026-03-18 12:28:15 -03:00
vm.go Add vsock-backed SSH session reminders 2026-03-18 20:14:51 -03:00
vm_test.go Add vsock-backed SSH session reminders 2026-03-18 20:14:51 -03:00