Commit Graph
2 Commits
Author SHA1 Message Date
NwflowerandClaude Opus 5.5 90fbce8b47 refactor: write small files through one atomic writer
Fifteen call sites each had their own temp-file-and-rename code. Some
used a fixed temporary name, so two writers could mix their content, and
most did not flush before the rename. They now share atomicfile.Write.

An architecture test keeps new os.Rename calls out of other packages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 20:59:56 -07:00
zhongruan0522 38551b79be feat(vm): add per-VM nested virtualization switch
reims-ctl adds `vmx=on` to `-cpu` only where KVM offers nested VMX, so a
macOS guest on Windows never sees VMX and cannot run VMs of its own such as
Docker Desktop. Add a switch under Settings > CPU & Memory > Performance,
off by default and applied on the next start.

The switch is Reims-Go's own per-VM setting, kept in the VM directory. At
start the macOS driver owns one argument that asks QEMU for VMX on every
vCPU without restating the CPU model; it is not a plugin and never shows up
among the VM's extra QEMU arguments. A switch file that cannot be read stops
the start instead of dropping VMX silently.

assisted-by:claude-code:anthropic/claude-fable-5-2
2026-12-01 15:40:15 +00:00