Files
Reims-Go/patches
NwflowerandClaude Opus 5.5 f6f6bfce34 feat: online runtime install, first-launch data folder picker, source packages
- Runtime: list and fetch runtimes from this repo's GitHub Releases
  (stable by default, candidate on request), with SHA256 check and resume.
  CLI gains `runtime available` and `runtime fetch`; the host page gets an
  online install row and a "receive candidates" switch.
- First launch: pick a data folder (non-system drives first, USB never
  recommended); the choice is recorded in %APPDATA%\reims-go\location.json.
  Existing installs in the default folder are adopted without asking.
- pack-runtime.ps1: also builds the matching source package, records every
  patch with its SHA256 and the channel, and refuses undeclared changes in
  the build trees.
- patches: declare reims-vgpu-cargo-lock.patch (Cargo.lock source lines).
- UI: sidebar and VM page restyle, new design tokens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 04:11:37 -07:00
..

上游临时补丁队列(Upstream Patch Queue)

本目录仅存放尚未被上游合入的最小兼容性补丁,由本地打包脚本与 CI 构建流程在编译 vendor/qemu 前通过 git apply 自动应用。

原则

  1. 内核/引擎 Bug 优先上游化:补丁同步提交 PR/Issue 给上游(steelbrain/qemu-reims-vgpu / steelbrain/reims-vgpu),绝不长期维护独立 fork。
  2. 合入即退役:一旦上游目标 commit 包含等价修复,立即从本目录移除对应补丁文件。

当前补丁清单

文件 目标仓库 / 基准 commit 解决的问题 上游状态
reims-vgpu-cargo-lock.patch steelbrain/reims-vgpu (3731afd) 的 Cargo.lock 不改代码:cargo 构建时给 metal2vulkan、metal2vulkan-air、metal2vulkan-runtime 三个包补上了 source = "git+…metal2vulkan?rev=0b0ac58…"。为了让源码包和实际构建逐字节一致,照实声明(2026-11-28 从本机构建目录 git diff 取得) 不需要上游修复;上游 Cargo.lock 补齐后即可删除
qemu-whpx-win10-compat.patch steelbrain/qemu-reims-vgpu (4571bc5) 修复 Windows 10 19045 上 WHPX 两处必现崩溃:① whpx_tsc_deadline_refused() 在正式 partition 上删建 vCPU 0 导致 WHvCreateVirtualProcessor 返回 0x80070057;② whpx_set_registers() 调用 Win11 新增的 WHvResetPartition 未判空导致 0xc0000005 崩溃 待提交上游 PR