summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohamed Mediouni <mohamed@unpredictable.fr>2026-08-12 10:28:11 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2026-08-24 10:51:38 +0300
commit5c16e7ad5dc8d262ad522145a29c8d9dace48308 (patch)
tree5cffd13dd0a8abb9f0df4c90468a3de9b94adec9
parentfd87e7a8c544007beac5d8e69171aa7a6931f071 (diff)
downloadqemu-5c16e7ad5dc8d262ad522145a29c8d9dace48308.tar.gz
qemu-5c16e7ad5dc8d262ad522145a29c8d9dace48308.zip
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> (cherry picked from commit 3bfcd8ef6bd26cb80175f40f60e67bc6f42fa0a4) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r--target/i386/whpx/whpx-all.c1
1 files changed, 1 insertions, 0 deletions
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;