Skip to contentSkip to conversation

Revert "qemux86-64: Reduce tuning to core2-64"

PATCH New [email protected] 1 participant 1 message Aug 11, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "qemux86-64: Reduce tuning to core2-64"

From: Etienne Cordonnier <[email protected]>

This reverts commit 3d67b6c60fa968cd36b51c63e2a7f11bb87dd315 which mentions "We can revisit this in a year or two as we should be ready then.".

Reverting this commit allows perfetto to work out of the box with qemux86-64. At the moment perfetto prints this error on qemux86-64:

```
root@qemux86-64:~# tracebox --txt -c /tmp/config.pbtxt -o /tmp/perfetto-trace.pb
This executable requires a x86_64 cpu that supports SSE4.2, BMI2 and AVX2.
Rebuild with enable_perfetto_x64_cpu_opt=false.
```
---
 meta/conf/machine/include/x86/qemuboot-x86.inc | 4 ++--
 meta/conf/machine/qemux86-64.conf              | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
meta/conf/machine/include/x86/qemuboot-x86.inc +2 -2
index 6ae03633aea..82ef4a0b732 100644
@@ -4,8 +4,8 @@ QB_SMP ?= "-smp 4"
 QB_CPU:x86 ?= "-cpu IvyBridge -machine q35,i8042=off"
 QB_CPU_KVM:x86 ?= "-cpu IvyBridge -machine q35,i8042=off"
 
-QB_CPU:x86-64 ?= "-cpu IvyBridge -machine q35,i8042=off"
-QB_CPU_KVM:x86-64 ?= "-cpu IvyBridge -machine q35,i8042=off"
+QB_CPU:x86-64 ?= "-cpu Skylake-Client -machine q35,i8042=off"
+QB_CPU_KVM:x86-64 ?= "-cpu Skylake-Client -machine q35,i8042=off"
 
 QB_AUDIO_DRV = "alsa"
 QB_AUDIO_OPT = "-device AC97"
meta/conf/machine/qemux86-64.conf +1 -1
index 62108b703b6..8aac7634b75 100644
@@ -3,7 +3,7 @@
 #@DESCRIPTION: Machine configuration for running an x86-64 system on QEMU
 
 require conf/machine/include/qemu.inc
-DEFAULTTUNE ?= "core2-64"
+DEFAULTTUNE ?= "x86-64-v3"
 require conf/machine/include/x86/tune-x86-64-v3.inc
 require conf/machine/include/x86/qemuboot-x86.inc
 
Signature · 1 line
2.43.0