@@ -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"
@@ -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
From: Etienne Cordonnier <ecordonnier@snap.com> 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(-)