Hi. I didnt build Qemu but I downloaded the last version 5.1.0 from https://qemu.weilnetz.de/w64/ and the error "Failed to emulate MMIO access with EmulatorReturnStatus: 2" happens when I use -drive if=pflash or -pflash with -accel whpx.
"qemu-system-x86_64.exe -pflash d:\macWIN\OVMF_CODE.fd -accel whpx Windows Hypervisor Platform accelerator is operational qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2 qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor" If I remove pflash and change to -bios "ovmf" the machine works. qemu-system-x86_64.exe -bios d:\macWIN\OVMF_CODE.fd -accel whpx If I maintain pflash but remove -accel whpx the machine works too. qemu-system-x86_64.exe -pflash d:\macWIN\OVMF_CODE.fd -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1821595 Title: Failed to emulate MMIO access with EmulatorReturnStatus: 2 Status in QEMU: New Bug description: I have compiled qemu with enable-whpx parameter for Hyper-V Platform API in Mingw64 . When I tried run with Windows 7 iso file I have faced issue with the following problem: qemu-system-x86_64.exe: WHPX: Failed to emulate MMIO access with EmulatorReturnStatus: 2 qemu-system-x86_64.exe: WHPX: Failed to exec a virtual processor configuration directives: ../configure --target-list=x86_64-softmmu,i386-softmmu --enable-lzo\ --enable-bzip2 --enable-tools --enable-sdl --enable-gtk --enable-hax\ --enable-vdi --enable-qcow1 --enable-whpx --disable-capstone\ --disable-werror --disable-stack-protector --prefix="../../QEMU-bin" Qemu command line: qemu-system-x86_64.exe -m 1024 -cdrom "C:\Users\vmcs\Documents\en_windows_7_home_premium_with_sp1_x86_dvd_u_676701.iso" -display sdl -machine q35 -accel whpx To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1821595/+subscriptions