Files
reims-vgpu/docs
Anees Iqbal 7aac6f4f97 🐛 Raise the device's interrupts on WHPX without QEMU's main loop
On Windows the device sent every interrupt through a BH in QEMU's main loop,
since WHPX has no irqfds. A QMP screendump in PNG of the 2880x1620 display
held the main loop about 120 ms in png_save. For that long the guest took no
completion and an on-screen app's nextDrawable blocked: a 117-145 ms gap
(7 refreshes) in all 6 present_probe runs on the Mac mini 2018 (winbench,
11-15). The same screendump under KVM, where the irqfd injects the
interrupt, cost no frame on ms01's Iris Xe (6 of 6 runs, gap max 33.3-33.7
ms, m3-max-37378).

vendor/qemu 243971f2: on WHPX with the hypervisor's APIC the raising thread
requests the vector's MSI from the hypervisor itself, with no BQL, keeping
the BH for a masked vector, disabled MSI-X and a refused request. What the
guest sees is the same interrupt, sent sooner when the main loop is held.
2026-11-16 13:54:20 -08:00
..
2026-11-15 15:16:04 -08:00