Files
w3cjandClaude Opus 5.5 218d8d9569 feat(lima): Lima backend
The Lima backend behind backend.Backend: limactl on devvm's own Lima
home, run from devvm's data folder, refusing Lima's global configs and
networks devvm didn't set. Start confines VMs with a Seatbelt profile
(macOS) or the QEMU wrapper, devvm _qemu, with restrict=on and a
guestfwd to the proxy (Linux), tolerates degraded starts, and records
the hostagent for Confined. Clones with qcow2 overlays on Linux, size,
ports, mounts, agent forwarding and the ssh target. BuildImage comes
with the image build.

Adds NameMax and LoggedError to the backend package, a limactl stub,
the registry with lima as the default, and the Lima docs page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 03:11:14 -06:00

12 lines
318 B
Go

//go:build unix
package platform
import "syscall"
// Exec replaces devvm with the program at path, run with argv (argv[0]
// included) and env. It returns only when that fails.
func Exec(path string, argv, env []string) error {
return syscall.Exec(path, argv, env) //nolint:gosec // the caller chose the program
}