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>
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>
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>
- start VM processes suspended so children cannot escape the VM's job
- read Hyper-V Administrators from the member list, not the sign-in token
- accept the "open" action the app sends for Remote Desktop and VMConnect
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- run elevated actions as fixed System32 tools instead of a hidden subcommand
- require a SHA-256 for plugin downloads
- keep records of secret files that could not be deleted, and never overwrite
files the host did not create
- stop two concurrent requests from starting the same VM
- drop invalid endpoints instead of failing the whole VM list, and reject ssh
users and IPv6 zones that could inject command-line text
- accept driver screenshots only at the requested path
- do not treat an unreadable guest phase as normal
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Put the hook back above key mapping and SDL3 whenever either reinstalls
its own hook, and stop treating modifiers swallowed by SDL3 as released.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Distinguish hypervisor launch disabled (hypervisor_off) from BIOS/UEFI
virtualization disabled (no_hypervisor) via unprivileged Win32 & DeviceGuard
probes without spawning background PowerShell/BCD processes
- Add default-off `enable_hypervisor_switch` preference in Settings -> General
with confirmation modal, active VM/task guards, HVCI notice, same-boot undo,
and single-UAC System32 execution without auto-restarting Windows
- Update Engine page, first-run Setup, `reims-go doctor`, and VM startprep
diagnostics for `hypervisor_off` and pending boot states
Enumerate Windows display adapters via SetupAPI (DIGCF_PRESENT) and CfgMgr32 (CM_Get_DevNode_Status: DN_STARTED, no DN_HAS_PROBLEM, no DN_WILL_BE_REMOVED) instead of blindly scanning Control\Class\{4d36e968-...}\0000..0031, so unplugged (phantom) and disabled GPUs whose DriverStore ICD files still remain on disk are no longer listed as available GPUs. Also reuse active adapter filtering for DriverStore manifest recovery and prevent MergeRegistryAndVulkanGPUs from cross-matching distinct PCI devices by generic name.
- Add per-VM `capture_host_shortcuts` option persisted in `.reims-go-keymap.json`
(independent from modifier preset and backward-compatible with legacy configs
and Wails callers omitting the field). When enabled, unmapped Win and Alt keys
route through the existing Guest Tools v8 hidutil carrier (`lcmd`/`rcmd`/`lopt`/
`ropt`) while the VM is focused, preventing host Win/Alt shortcuts (e.g. PixPin
Alt+A, Alt+Tab, Alt+F4, Ctrl+Alt+A, Win+...) without modifying explicit custom
bindings or bumping Guest Tools version.
- Monitor `EVENT_SYSTEM_FOREGROUND` and `EVENT_OBJECT_NAMECHANGE` on the Windows
keymap hook thread to immediately release held modifiers on focus loss and
promote `WH_KEYBOARD_LL` back to the top of the hook chain on VM focus entry
and SDL3 in-window re-capture, with per-key timestamp filtering for delayed
focus-loss events, swap-window event deduplication, Win64 32-bit parameter
narrowing, and fallback timer recovery.
- Serialize `SetVMKeymap` read-merge-save under `keymapMu`, expose the toggle in
Settings with zh-CN/en-US i18n, and add Go + frontend unit tests.
The start check, start wait, memory recommendation and create/settings
validation compared guest RAM against GlobalMemoryStatusEx's current
commit limit. A system-managed or min/max page file grows on demand, so
that limit refused VMs that would start: with 30.7/37.4 GB committed an
8G guest was rejected while about 38 GB could still be committed.
Read each paging file's current and maximum size with
NtQuerySystemInformation(SystemPageFileInformationEx) and add the room
it can still grow, capped by its volume's free space minus a 2 GB
reserve. Fixed-size or disabled page files add nothing; if the query
fails the old values stand. Measured on Windows 10: one commit of free
commit + 10 GB (VirtualAlloc and CreateFileMapping) succeeded and grew
the limit from 37.4 to 47.4 GB.
The start error now names the total requirement and the guest share and
says page file growth is already counted; the host report gains
paging_file_growth_gb.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adapt Intel VM suspend/resume to driver.SuspendDriver and lifecycle.Service, move native VM close confirmation into internal/host, migrate vm-suspend legacy capability detection, drop moved runtime build tooling, and regenerate i18n and Wails bindings.
Route generic App and CLI code through lifecycle and driver models. Move native macOS detail, create, settings and legacy flows into explicit files, share progress and redaction through host, and enforce the boundary with a file-scoped architecture ratchet.
Share redaction and GPU log diagnosis outside the macOS client, move snapshot validation to the driver contract, and delete superseded App storage implementations.
Build Guest Tools images in the macOS driver after all start hooks pass, through a host callback rather than a new macOS-to-guesttools dependency.
Add driver.OptimizationAdvisor, keep generic hardware evaluation in host, and move WHPX recommendations and tests into macosdriver for both the UI and diagnostics.