@samitouri / QOSamiQemu / commits / 5b4810a0ff

whpx: i386: bump to x2apic

Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr> Link: https://lore.kernel.org/r/20260223233950.96076-27-mohamed@unpredictable.fr Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Mohamed Mediouni committed Feb 24, 2026 at 00:39 UTC 5b4810a0ffa65824ec2747b6f054768a98423235
1 file changed +1 -1
target/i386/whpx/whpx-all.c
+1 -1
@@ -2088,7 +2088,7 @@ int whpx_accel_init(AccelState *as, MachineState *ms)
2088 if (whpx->kernel_irqchip_allowed && features.LocalApicEmulation &&
2089 whp_dispatch.WHvSetVirtualProcessorInterruptControllerState2) {
2090 WHV_X64_LOCAL_APIC_EMULATION_MODE mode =
2091 - WHvX64LocalApicEmulationModeXApic;
2091 + WHvX64LocalApicEmulationModeX2Apic;
2092 hr = whp_dispatch.WHvSetPartitionProperty(
2093 whpx->partition,
2094 WHvPartitionPropertyCodeLocalApicEmulationMode,