fix(patches): use 64 KiB initial commit and null checks for QEMU Win32 coroutine fibers

This commit is contained in:
Nwflower committed 2026-11-28 09:40:41 -07:00
1 parent 105ca9c88e
commit 8b6073b6b1
6 files changed
+89 -3

No files matched your search

+5 -1
View File
@@ -37,7 +37,8 @@ param(
[ValidateSet('candidate', 'stable')]
[string]$Channel = 'candidate',
[int]$ZstdLevel = 15,
[switch]$IncludeNestedVirtPatch
[switch]$IncludeNestedVirtPatch,
[switch]$IncludeWin32FiberPatch
)
$ErrorActionPreference = 'Stop'
@@ -110,6 +111,9 @@ $patchSpecs = @(
if ($IncludeNestedVirtPatch) {
$patchSpecs += @{ Name = 'qemu-whpx-nested-virt-nonfatal.patch'; Target = 'vendor/qemu'; Repo = $qemuRepo; Paths = @() }
}
if ($IncludeWin32FiberPatch) {
$patchSpecs += @{ Name = 'qemu-win32-coroutine-fiber-commit.patch'; Target = 'vendor/qemu'; Repo = $qemuRepo; Paths = @() }
}
$patches = @()
# Group patches by repo so multi-patch stacks (e.g. 2-3 QEMU WHPX patches) are
# verified together against a clean HEAD export with zero undeclared diff.