Skip kernel-irqchip=off when installing with --install-from-img

Move the setting from qemu/windows11-darwin-arm64.ini to a -machine option
that run-windows11.py adds on macOS arm64 unless --install-from-img is given.
The workaround is only needed for usb-storage, which the NVMe install disk
does not use, and Setup hangs with the emulated interrupt controller.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
GuofangandClaude Sonnet 5.5 committed 2026-10-29 13:33:06 +08:00
1 parent 887da87340
commit 07a2c6db3e
3 files changed
+11 -6

No files matched your search

+2 -5
View File
@@ -7,13 +7,10 @@
[accel]
accel = "tcg"
# With the HVF in-kernel GICv3, QEMU's usb-storage races on the status packet
# and Windows Setup stalls 10 s after every burst of reads (utmapp/UTM#7970),
# so use the emulated interrupt controller; upstream QEMU only gets the fix
# from the UTM fork.
# run-windows11.py adds kernel-irqchip=off unless installing with
# --install-from-img (see there).
[machine]
type = "virt"
kernel-irqchip = "off"
# The "virt" machine has no IDE. NVMe and USB mass storage (used by the
# installation media of --install-from-iso) both have inbox Windows drivers.