Commit 3bfcd8ef6b for qemu.org
commit 3bfcd8ef6bd26cb80175f40f60e67bc6f42fa0a4
Author: Mohamed Mediouni <mohamed@unpredictable.fr>
Date: Wed Aug 12 10:28:11 2026 +0200
whpx: i386: enable fast hypercall output
Already enabled on Arm so extending it to x86.
Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>
Link: https://lore.kernel.org/r/20260812082814.27217-4-mohamed@unpredictable.fr
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
diff --git a/target/i386/whpx/whpx-all.c b/target/i386/whpx/whpx-all.c
index 634d542821..1800ba8eb1 100644
--- a/target/i386/whpx/whpx-all.c
+++ b/target/i386/whpx/whpx-all.c
@@ -3247,6 +3247,7 @@ int whpx_accel_init(AccelState *as, MachineState *ms)
synthetic_features.Bank0.HypervisorPresent = 1;
synthetic_features.Bank0.Hv1 = 1;
+ synthetic_features.Bank0.FastHypercallOutput = 1;
synthetic_features.Bank0.AccessVpRunTimeReg = 1;
synthetic_features.Bank0.AccessPartitionReferenceCounter = 1;
synthetic_features.Bank0.AccessPartitionReferenceTsc = 1;