On 2025-10-23 19:02, Bernhard Beschow wrote:


Am 23. Oktober 2025 09:23:58 UTC schrieb Bernhard Beschow <[email protected]>:


Am 23. Oktober 2025 06:33:18 UTC schrieb "Philippe Mathieu-Daudé" 
<[email protected]>:
On 20/10/25 12:27, Bernhard Beschow wrote:


Am 16. Oktober 2025 17:15:42 UTC schrieb Pierrick Bouvier 
<[email protected]>:
On 10/16/25 9:55 AM, Mohamed Mediouni wrote:
WHvGetVirtualProcessorInterruptControllerState2 and
WHvSetVirtualProcessorInterruptControllerState2 are
deprecated since Windows 10 version 2004.

Use the non-deprecated WHvGetVirtualProcessorState and
WHvSetVirtualProcessorState when available.

Signed-off-by: Mohamed Mediouni <[email protected]>
---
    include/system/whpx-internal.h |  9 +++++++
    target/i386/whpx/whpx-apic.c   | 46 +++++++++++++++++++++++++---------
    2 files changed, 43 insertions(+), 12 deletions(-)

Reviewed-by: Pierrick Bouvier <[email protected]>

Couldn't we merge this patch already until the rest of the series is figured 
out?

OK if you provide your Tested-by tag (:

Oh, I did for an older version of the series w/o this patch: 
<https://lore.kernel.org/qemu-devel/[email protected]/>

I'll retest.

Unfortunately I get:

WHvSetVirtualProcessorInterruptControllerState failed: c0350005

and the VM terminates. Reverting the patch resolves the problem.

Best regards,
Bernhard

Thanks for testing it Bernhard.
I didn't have time to run latest versions Mohamed posted.

Pierrick

Reply via email to