Events to the frontend go through App.emit, and a test keeps their names
in step with wails.ts. QEMU argument splitting, hidden console processes,
the macOS release record, the running check and a few smaller helpers
now exist once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Delete functions that no product code calls, and fold "simple plus
WithOptions" pairs into the one signature callers actually use. Rename
the live macOS lifecycle functions that were labelled Legacy.
The architecture tests now share one source loader and reject functions
without a product caller and catalog messages nobody reads.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Set max-bandwidth=0 (QEMU RATE_LIMIT_DISABLED) in configureMappedRAM so
paused local snapshot saves are no longer throttled to QEMU's 128 MiB/s
default.
- Increase DefaultMultifdChannels from 4 to 8 and lower migratePollInterval
from 200ms to 100ms.
- Enable direct-io on outgoing suspend saves with automatic fallback for
older QEMU builds or volumes that reject direct I/O; keep direct-io
disabled on incoming resume to preserve OS read-ahead.
- Compute suspend progress from (Total - Remaining) / Total (100% on
completed) so sparse mapped-ram saves report accurate completion instead
of stopping at the non-zero RAM ratio.
- "Send text to VM..." dialog: arbitrary Unicode goes through Guest Tools
(clipboard paste in the guest, agent v3 /v1/text-input long poll); without
Guest Tools only US-keyboard ASCII is typed via QMP.
- Host IME / dictation: a low-level keyboard hook (internal/host/ime_*) catches
VK_PACKET input aimed at a running VM window, coalesces bursts and forwards
them in order through a per-VM queue (type_flow.go).
- reims-vgpu-window bridge: new runtime patch reims-vgpu-win32-unicode-input
enables SDL text input and posts committed text to /v1/host-text; StartVM
passes REIMS_GO_INPUT_URL/TOKEN to the window process. This also adds the
patch file that patches/series.txt already listed.
- Guest Tools auth returns a field snapshot instead of copying the VM entry
(it now holds a mutex and text queues).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
QEMU encodes screendumps on its main loop; on a 2880x1620 reims-vgpu console
PNG took ~820 ms against ~35 ms for PPM, stalling the guest on every refresh.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Detect 3-tier hybrid CPUs (P + E + LP-E, e.g. Intel Core Ultra 200 Arrow Lake) in host topology probe and select NonLPEMask (P+E, excluding slow LP-E cores) when VM vCPUs exceed P-core thread headroom
- Migrate Win10 cold-reboot secondary QMP socket from tcp:127.0.0.1:<port> to Windows AF_UNIX (reims-go-reboot.sock, with short tmp fallback) so guest code cannot reach unauthenticated QMP via SLIRP 10.0.2.2
- Automatically strip legacy tcp:127.0.0.1 QMP args on next start and update roadmap M3.2
Offline installers (roadmap M1.3):
- internal/installer drives `reims-util --json offline-installer` and parses
its JSON event stream (upstream reims-vgpu 3731afd, reims_util.rs:423-509)
- downloads hold installers/.lock like reims-ctl, so the two never write the
same file; checked against the real reims-ctl (TestLockExcludesReimsCtl)
- pause = stop the process, rerun resumes; deletes go through
`reims-ctl downloads delete`, which refuses files in use or downloading
- CLI: reims-go installer list | download | cached | delete
- Wails bindings: ListOfflineReleases, DownloadInstaller, ListInstallers,
DeleteInstaller
Task events (ui-redesign B1):
- tasks.go tracks long-running work and emits "reims:task" (throttled to
200 ms per task); VM creation turns reims-ctl's progress lines into task
progress and logs each step once
- the status bar shows the current task with a progress bar, details in a
tooltip and a pause button; the frontend regex merging is removed
Win10 cold reboot workaround:
- host probes whether WinHvPlatform.dll lacks WHvResetPartition (Win10 19045)
- internal/qmp watches a dedicated QMP channel for guest resets; with
-no-reboot the app restarts the VM in a fresh partition
- architecture.md documents download routing and the workaround
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>