WHPX accelerator fails to boot guest Windows 7
## Host environment - Operating system: Windows 11 23H2 - OS/kernel version: Home - Architecture: x64 - QEMU flavor: qemu-system-x86_64.exe - QEMU version: v9.0.0-12054-g923cf646f4 - QEMU command line: ``` qemu-system-x86_64.exe -accel whpx -cpu Westmere,aes=on,avx=on,sse4.1=on,sse4.2=on,ssse3=on,x2apic=on,xsave=on -m 4G -machine q35 -device qxl-vga,vgamem_mb=64 -hda Windows7_Disk.qcow2 -boot d -cdrom Windows7.iso ``` ## Emulated/Virtualized environment - Operating system: Windows 7 - OS/kernel version: Professional (build 7601 SP 1) - Architecture: x64 ## Description of problem I get Qemu freezed on Starting Windows screen when trying to boot Windows 7 Professional ## Steps to reproduce 1. Run qemu with the above command line and until Starting Windows screen appears. 2. See qemu freezed. ## Additional information tcg accelerator works ok, though (Windows 7 successfully boots as expected on native hardware): - `qemu-system-x86_64.exe -accel tcg -cpu Westmere,aes=on,avx=on,sse4.1=on,sse4.2=on,ssse3=on,x2apic=on,xsave=on -m 4G -machine q35 -device qxl-vga,vgamem_mb=64 -hda Windows7_Disk.qcow2 -boot d -cdrom Windows7.iso` This bug seems to have the same roots: https://gitlab.com/qemu-project/qemu/-/issues/1859 ![Capture.PNG](/uploads/f934e620a4b3c157fc34e8ff38470a0b/Capture.PNG){width=579 height=477}
issue