Dear Team,
This error, "whpx: injection failed, MSI...lost (c0350005)" followed by "WHPX: Unexpected VP exit code 4" upon restart, points to a known issue with the Windows Hypervisor Platform (WHPX) accelerator in specific QEMU versions, particularly when dealing with interrupt handling (MSI) and virtual processor state.
The most common cause is a bug within the WHPX API or its interaction with your specific CPU and QEMU version. This often manifests during guest OS operations that heavily rely on interrupt requests, like restarting or shutting down.
Here are the most effective solutions, ranked from most likely to succeed:
- Update QEMU
This is the most frequent and successful solution. Newer versions of QEMU often contain patches and workarounds for bugs in WHPX.
- Recommendation: Download and install the latest stable version of QEMU for Windows. Bug fixes for WHPX are common in new releases.