mirror of
https://github.com/devvmhq/devvm.git
synced 2026-12-01 21:36:40 -10:00
devvm size shows this folder's VM's CPUs, memory and disk (cpus=4 memory=8GiB disk=100GiB), with a note when a change waits for its next start; --cpus, --memory and --disk change them, at once for a stopped VM, from its next start for a running one. Disks only grow; more than this machine has is refused. -g/--global shows (cpus=, memory=, disk= lines) or changes the size new VMs get (~/.config/devvm/size), keeping what it leaves unset. A change checks the backend's features first. - vm: Env.ShowSize, Env.SetSize, SizeText, pendingSize (also used by applySize), defaultSize (also used by up), folderVM (shared by ports, ssh-agent and size) - messages: vm_size, size_pending, size_defaults, no_vm_size, size_failed; size_flags_ignored names devvm size - tests: size.txtar (show, set, running vs stopped, -g, a hand-edited size file, refusals), TestSetSize, TestSizeText; the limactl stub's edit applies --cpus/--memory/--disk; e2e project: a new VM gets its size, devvm size shows it, a running VM's new size waits for restart then applies, a smaller disk is refused - docs: images.md Size and Disk use, commands.md rows, CLI reference Co-Authored-By: Claude Opus 5.5 <[email protected]>