Re: [PATCH v7 24/24] whpx: apic: use non-deprecated APIs to control interrupt controller state

Pierrick Bouvier
2025-10-16T17:15:44Z

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 <mohamed@unpredictable.fr>
> ---
> include/system/whpx-internal.h | 9 +++++++
> target/i386/whpx/whpx-apic.c | 46 +++++++++++++++++++++++++---------
> 2 files changed, 43 insertions(+), 12 deletions(-)