The fork's 79d47edf: under WHPX with QEMU's own APIC (kernel-irqchip=off),
a TPR the guest wrote through an instruction QEMU emulates (a
read-modify-write of the xAPIC's TPR, an x2APIC WRMSR) never reached CR8,
and the next exit put the old TPR back, so the guest's write was undone.
reims-ctl starts WHPX with the in-kernel irqchip, which keeps the TPR in
Hyper-V's APIC, but QEMU keeps its own APIC on a Windows 10 host, where the
machine has a PIC, and on a Hyper-V that offers no local APIC emulation; a
command that turns the irqchip off gets it too. Those hosts' guests lost
such TPR writes. Now the TPR the guest wrote stays, as it does under
kernel-irqchip=on.
Checked on an i7-8700B under Windows 11 with QEMU built as install-ctl.sh
builds it in MSYS2's CLANG64, and a guest of our own that ORs 0x50 into the
TPR and reads it back: kernel-irqchip=off read 0x00 in 3 of 3 runs before
(m3-max-80368) and 0x50 in 3 of 3 after; kernel-irqchip=on read 0x50 in
every run (m3-max-80485).