QEMU failed to emulate MMIO Access when -accel whpx


tbtbfaker@...
 

I have built a OVMF based on EDK2, but when tried to run with QEMU -accel whpx, it gave the error of
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

Without -accel whpx as an option in QEMU, it would work. However, I would need whpx as when using OVMF to boot into Windows, it would be very slow.

Join discuss@edk2.groups.io to automatically receive all group messages.