whpx: i386: enable GuestIdleReg enlightenment
This corresponds to HV_X64_MSR_GUEST_IDLE (0x400000f0). This enlightenment is only available by the HV when using the Hyper-V LAPIC. Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr> Link: https://lore.kernel.org/r/20260422214225.2242-19-mohamed@unpredictable.fr Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Mohamed Mediouni committed
Apr 22, 2026 at 23:42 UTC
f3e2677625664bde37c27b742e9a77df6e4e61e6
1 file changed
+1
target/i386/whpx/whpx-all.c
+1
@@ -2761,6 +2761,7 @@ int whpx_accel_init(AccelState *as, MachineState *ms)
2761
synthetic_features.Bank0.AccessIntrCtrlRegs = 1;
2762
synthetic_features.Bank0.SyntheticClusterIpi = 1;
2763
synthetic_features.Bank0.DirectSyntheticTimers = 1;
2764
+ synthetic_features.Bank0.AccessGuestIdleReg = 1;
2765
/*
2766
* These technically work without the Hyper-V LAPIC
2767
* but behave oddly for multi-core VMs.