Commit Graph
7 Commits
Author SHA1 Message Date
Nwflower d42a4f85f0 feat(perf): default to NVMe, guard P-core pinning, add Win11 WHPX nested-virt patch
- Default newly created VMs to NVMe disk controller via reims-ctl set (supported by macOS Recovery, installer, and installed guests)
- Guard P-core affinity pinning with CanSafelyPinPCores (require P-core logical CPUs >= vmCPUs+1) to prevent XNU spinlock stalls on non-HT hybrid CPUs such as Intel Core Ultra 9 285H (6P/6T + 8E), and include logical thread counts in CPU pinning logs
- Add patches/qemu-whpx-nested-virt-nonfatal.patch (registered in patches/README.md & docs/portable-runtime-spec.md) to make WHvSetPartitionProperty(NestedVirtualization) hr=0x80370302 non-fatal so Win11 retains kernel-irqchip=on, and detect the patch in host optimizations and WHPX compat pre-apply
2026-11-28 08:22:01 -07:00
Nwflower 05ad179ee3 fix(runtime): forward WHPX startup IPIs on Windows 10 2026-11-28 06:25:22 -07:00
NwflowerandClaude Opus 5.5 eb14a1610f docs: promote runtime-3731afd to stable; regenerate Wails bindings
- portable-runtime-spec.md §6 records the promotion: smoke test on a real
  Windows 10 19045 host, confirmed by a person; the release flag changes,
  the files don't.
- roadmap M2.4: single-file reims-go.exe (12.7 MB) released as v0.1.0.
- frontend/wailsjs: bindings regenerated for the setup and online-runtime
  methods (SuggestDataRoots, CompleteSetup, InstallRuntimeOnline, ...).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:51:33 -07:00
NwflowerandClaude Opus 5.5 60dd772b83 feat: ship sources of copyleft MSYS2 packages as a release asset
scripts/pack-msys2-sources.ps1 reads the bundled DLLs' MSYS2 packages, keeps
those whose licence requires source (GPL / LGPL / MPL with no permissive
alternative), downloads their .src.tar.zst and .sig from repo.msys2.org,
checks each signature with gpgv against the MSYS2 keyring, and packs them
as reims-runtime-msys2-src-<commit>.tar.zst, adding it to SHA256SUMS.txt.
pack-runtime.ps1 now calls it, so every runtime release has four assets.

runtime-3731afd: 22 source packages (110 MB), all signatures good, uploaded
beside the runtime; release notes and SHA256SUMS.txt updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:46:28 -07:00
NwflowerandClaude Opus 5.5 36c937d718 fix: runtime install deadlock, manifest raw_bytes, CLI flag order
- extractTarZst uses Windows' System32 tar.exe (reads .tar.zst and D:\
  paths); a bare "tar" could resolve to GNU tar, whose failure left the
  zstd | tar pipe deadlocked. The fallback now decompresses to a temp file.
- pack-runtime.ps1 casts raw_bytes to an integer (PowerShell 7 summed to a
  double, "962466926.0", which the Go reader rejected); the reader now also
  accepts whole-number floats.
- `runtime fetch latest --candidate` honours flags after the positional arg.
- Docs: release layout, source package contents and the open MSYS2 source
  question (portable-runtime-spec.md §4, §7); roadmap M1.2 and M2.1 progress.

Verified: a fresh `reims-go runtime fetch latest --candidate` downloads the
published runtime-3731afd from GitHub, checks SHA256SUMS.txt, unpacks and
activates it (75 s for 169 MB); reims-ctl and QEMU run from the result.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:28:30 -07:00
NwflowerandClaude Opus 5.5 4bea654736 feat: add Wails desktop GUI and stage-0 UI redesign
Wails shell over the existing Go core (app.go, main.go, wails.json,
build/), with a React frontend for the VM list, VM detail, host page,
create wizard and settings, plus process helpers for the driver and
runtime packages.

UI redesign stage 0 (docs/ui-redesign.md):
- VM actions live in the page header: one primary action per state,
  icon-only secondary actions with tooltips, the rest in a "..." menu
- install guide is a single card with the only "eject installer" button
- summary is an icon + value row; paths, ICD, CPU model and runtime hash
  moved to a collapsed "technical details" section
- logs no longer auto-open; a status bar shows merged download progress
  and an error count; the log view sticks to the bottom
- busy states on actions, toasts for results, custom delete dialog with
  "keep disk files"
- design tokens, Windows font stack, integer type scale, no inline styles
- keyboard: sidebar listbox navigation, focus rings, Ctrl+N / Ctrl+, / Ctrl+L
- copy rewritten per the restraint rules in §4.5
- Radix primitives and lucide icons replace hand-rolled widgets

Backend: OpenVMFolder binding to show a VM's directory in Explorer.
Docs: shell-design.md revised for decisions D1 and D4.
Vite dev server pinned to 127.0.0.1 so `wails dev` can reach it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 03:09:39 -07:00
Nwflower 46f274be09 feat: initialize reims-go portable runtime spec, packager, and M1 bilingual Go CLI 2026-11-28 02:04:27 -07:00